Skip to content

Commit dd3a94f

Browse files
authored
add 'return' keyword in sample code (#44506)
1 parent 677bbc9 commit dd3a94f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/orleans/grains/grain-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public class ExampleGrain : Orleans.Grain, IExampleGrain
152152
long primaryKey = this.GetPrimaryKeyLong(out string keyExtension);
153153
Console.WriteLine($"Hello from {keyExtension}");
154154

155-
Task.CompletedTask;
155+
return Task.CompletedTask;
156156
}
157157
}
158158
```

0 commit comments

Comments
 (0)