Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.SignalR.SetupSignalRHubAsync Method

Set up environment info for SignalR requests.

Class: YetaWF.Core.SignalR
Namespace: YetaWF.Core
Assembly: YetaWF.Core

Syntax

public static Task SetupSignalRHubAsync(
    Hub hub,
    Func<Task> run );

Parameters

hub

(not specified)

run

(not specified)

Remarks

Any inbound signalr request must call this to set up the proper environment. Currently the implementation is a bit borked and the caller must wrap the code in a thread. We need to revisit this, but I don't have time to do it right, right now.

See Also YetaWF.Core.SignalR ClassYetaWF.Core Overview