Skip to content

Commit

Permalink
will it give me anything?
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Feb 6, 2024
1 parent e27510d commit 2f53912
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Api/PubnubApi/EventEngine/Core/EffectDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public async Task Dispatch(IEffectInvocation invocation) {

OnEffectDispatch?.Invoke(invocation);

System.Diagnostics.Debug.WriteLine($"Dispatching {invocation.GetType().Name} = {invocation.ToString()}");

if (invocation is IEffectCancelInvocation) {
await effectInvocationHandlerMap[invocation.GetType()].Cancel();
} else
Expand All @@ -45,4 +47,4 @@ public EffectDispatcher Register<TEffectInvocation, TEffectHandler>(TEffectHandl
return this;
}
}
}
}

0 comments on commit 2f53912

Please sign in to comment.