(ReducerEventContext ctx, string name)
| 155 | |
| 156 | /// Our `OnSetNameEvent` callback: print a warning if the reducer failed. |
| 157 | void Reducer_OnSetNameEvent(ReducerEventContext ctx, string name) |
| 158 | { |
| 159 | var e = ctx.Event; |
| 160 | if (e.CallerIdentity == local_identity && e.Status is Status.Failed(var error)) |
| 161 | { |
| 162 | Console.Write($"Failed to change name to {name}: {error}"); |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | /// Our `OnSendMessageEvent` callback: print a warning if the reducer failed. |
| 167 | void Reducer_OnSendMessageEvent(ReducerEventContext ctx, string text) |
nothing calls this directly
no test coverage detected
searching dependent graphs…