Skip to content

IGrainActivator.DisposeInstance(IGrainContext, object)

DisposeInstance(IGrainContext, object)

abstract
public abstract 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.