private async Task CallIStatelessWorkerGrainMethod(IGrain grain) { var g = grain.Cast <IStatelessWorkerGrain>(); await g.GetCallStats(); }
private async Task CallITestGrainMethod(IGrain grain) { var g = grain.Cast <ITestGrain>(); await g.SetLabel("Hello world"); }