public static Task DirectCallToActor(IProcessorActor actor, QueueName queueName, Message msg, IEventQueueOperator queueOperator) { var ev = msg.ToEvent(queueName); return(FactoryActor.ProcessEvent(actor, ev, queueOperator)); }
public static Task Invoke(this IProcessorActor actor, QueueName queueName, Message msg, IEventQueueOperator queueOperator) { var ev = msg.ToEvent(queueName); return(FactoryActor.ProcessEvent(actor, ev, queueOperator)); }