PluginEventWatch
Static class in Oadm.Sdk.Client · Oadm.Sdk.Client.dll
The live events of a plugin page, watched again after the connection drops.
public static class PluginEventWatchMethods
Section titled “Methods”RunAsync
Section titled “RunAsync”static Task RunAsync(this ICorePluginClientContext ctx, Action<PluginEvent> handle, TimeSpan? retryDelay, CancellationToken ct)Hands every event of ICorePluginClientContext.WatchEventsAsync to handle (on the calling thread’s context, usually the UI thread) until ct is cancelled; a broken stream is watched again after retryDelay. Never throws (cancellation ends it).
Fields
Section titled “Fields”DefaultRetryDelay
Section titled “DefaultRetryDelay”static readonly TimeSpan DefaultRetryDelayWait before watching again after the stream broke.