Example #1
0
 async Task IProxyGrainExecutor.ExecuteAsync(ActorCallData data)
 {
     await _executor.TryExecuteAsync(new TriggeredFunctionData
     {
         TriggerValue = data
     }, CancellationToken.None);
 }
Example #2
0
        private Dictionary <string, object> GetBindingData(ActorCallData actorCallData)
        {
            var bindingData = new Dictionary <string, object>(StringComparer.OrdinalIgnoreCase);

            bindingData["EventName"] = actorCallData.EventName;
            bindingData["Data"]      = actorCallData.Data;
            return(bindingData);
        }