OrleansService.WithGrainStorage
Method
type OrleansService interface { // ... omitted for brevity WithGrainStorage( name string, provider ResourceWithConnectionString, ) OrleansService}Signature
method
WithGrainStorage Adds a grain storage provider to the Orleans service.
WithGrainStorage( name string, provider ResourceWithConnectionString,) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.providerResourceWithConnectionString The provider to add.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: