DisposeInstance(IGrainContext, object)
public ValueTask DisposeInstance(IGrainContext context, object instance) Disposes the provided grain instance which is associated with the provided grain context.
Parameters
contextIGrainContext- The grain context.
instanceobject- The grain instance.
Returns
A
System.Threading.Tasks.ValueTask representing the work performed.