Open poga opened 5 years ago
SyncArbiter allows us to put blocking statements to separated threads.
SyncArbiter
LuaActor is implemented with AsyncContext. In order to start an actor with SyncArbiter, it has to with SyncContext.
LuaActor
AsyncContext
SyncContext
However, SyncContext does not provides rich APIs from AsyncContext, therefore it's not really compatible between these two implementation.
Maybe we can provide an alternative implementation such as SyncLuaActor?
SyncLuaActor
SyncArbiter
allows us to put blocking statements to separated threads.LuaActor
is implemented withAsyncContext
. In order to start an actor withSyncArbiter
, it has to withSyncContext
.However,
SyncContext
does not provides rich APIs fromAsyncContext
, therefore it's not really compatible between these two implementation.Maybe we can provide an alternative implementation such as
SyncLuaActor
?