aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/core/actorlib_impl/long_timer.h
blob: 9b04c301217a27ead69562a71307e062d7e142d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <library/cpp/actors/core/actor.h>

namespace NActors {

TActorId CreateLongTimer(const TActorContext &ctx, TDuration delta, TAutoPtr<IEventHandle> ev, ui32 poolId = 0, ISchedulerCookie *cookie = nullptr);

// uses TlsActivationContext, note that by default we use current pool
TActorId CreateLongTimer(TDuration delta, TAutoPtr<IEventHandle> ev, ui32 poolId = Max<ui32>(), ISchedulerCookie *cookie = nullptr);

}