public static async Task <ObserverEndpoint> Create() { var endpoint = new ObserverEndpoint(); var proxy = await ObserverEndpointFactory .CreateObjectReference(endpoint); return(endpoint.Initialize(proxy)); }
internal static IObserverEndpoint Proxy(ObserverPath path) { return(ObserverEndpointFactory.Cast(GrainReference.FromKeyString(path.ToString()))); }
public void Dispose() { ObserverEndpointFactory.DeleteObjectReference(proxy); }