public void DirectTo <T>(ITerminalResource <T> t, IEnumerable <Condition <T> > a = null) where T : class, ITerminal => ActionQueue.Enqueue(() => ToQueueFor.DirectTo(t, a));
public void Disconnect(string message) => ActionQueue.Enqueue(() => ToQueueFor.Disconnect(message));
public void StreamResult(ISerializedResult r, int m, TimeSpan?t = null, bool w = false, bool d = true) => ActionQueue.Enqueue(() => ToQueueFor.StreamResult(r, m, t, w, d));
public void DirectToShell(IEnumerable <Condition <Shell> > a = null) => ActionQueue.Enqueue(() => ToQueueFor.DirectToShell(a));
public void SendException(Exception exception) => ActionQueue.Enqueue(() => ToQueueFor.SendException(exception));
public void SendResult(IResult r, TimeSpan?t = null, bool w = false, bool d = true) => ActionQueue.Enqueue(() => ToQueueFor.SendResult(r, t, w, d));
public void SendJson(object i, bool a = false, bool?p = null, bool ig = false) => ActionQueue.Enqueue(() => ToQueueFor.SendJson(i, a, p, ig));
public void SendBinary(byte[] d, int o, int l) => ActionQueue.Enqueue(() => ToQueueFor.SendBinary(d, o, l));
public void SendText(string d) => ActionQueue.Enqueue(() => ToQueueFor.SendText(d));
public void SendTextRaw(string text) => ActionQueue.Enqueue(() => ToQueueFor.SendTextRaw(text));
/// <inheritdoc /> public void SetStatus(WebSocketStatus status) => ActionQueue.Enqueue(() => ToQueueFor.SetStatus(status));