internal async Task Initialize(Handshake handshake, CancellationToken cancellationToken) { Debug("Server Handshake: {0}", handshake); eventSink = await EventSinkClient.FromProxy(handshake.EventSink, cancellationToken); if (handshake.Settings != null) { App.Settings.Merge(handshake.Settings); } Debug("Server Handshake done"); helloTcs.SetResult(eventSink); }
public EventSinkBackend(EventSinkClient client) { this.client = client; }