diff options
author | ivanmorozov <[email protected]> | 2022-11-07 13:26:37 +0300 |
---|---|---|
committer | ivanmorozov <[email protected]> | 2022-11-07 13:26:37 +0300 |
commit | 3ec63e4abb2b40be05ea2d7a79e1cfdc249697b3 (patch) | |
tree | 39de33b1319f05ff909a6d9f44c44e1affecf12f /library/cpp/actors/testlib/test_runtime.cpp | |
parent | 33e0f47c0e8e26c4778d83646252b59c717a4c7b (diff) |
async send method
Diffstat (limited to 'library/cpp/actors/testlib/test_runtime.cpp')
-rw-r--r-- | library/cpp/actors/testlib/test_runtime.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/actors/testlib/test_runtime.cpp b/library/cpp/actors/testlib/test_runtime.cpp index b14892f67d5..06ad5d5353c 100644 --- a/library/cpp/actors/testlib/test_runtime.cpp +++ b/library/cpp/actors/testlib/test_runtime.cpp @@ -1423,6 +1423,10 @@ namespace NActors { SendInternal(ev, senderNodeIndex, viaActorSystem); } + void TTestActorRuntimeBase::SendAsync(IEventHandle* ev, ui32 senderNodeIndex) { + Send(ev, senderNodeIndex, true); + } + void TTestActorRuntimeBase::Schedule(IEventHandle* ev, const TDuration& duration, ui32 nodeIndex) { TGuard<TMutex> guard(Mutex); Y_VERIFY(nodeIndex < NodeCount); |