private static void GlobalSignalRaiser(Signal sig, DateTime time, string stack, string[] args) { if (((int)sig & 0xFFFF_0000) == 0) { return; // no internal } var dat = Serializer <SignalPayload> .Serialize(new SignalPayload(sig, time, stack, args)); _signalBus.Enqueue(dat); }
public static void SendData(PackedResult result) { if (!_isEnsured) { throw new InvalidOperationException("Not ensured"); } Log.Information($"Data Sent: {result.Type}"); var dat = Serializer <PackedResult> .Serialize(result); _dataBus.Enqueue(dat); }