public Result <string> TryEmit(string id, object query) { lock (_context) { return(_context.TryGetEmiter(id, _context.CurrentNs) .OnSuccess(emiter => emiter.TryEmit(new OneCallContext(_context, query)))); } }
public Result <string> TryEmit(string id, object query) { return(_context.TryGetEmiter(id, _context.CurrentNs) .OnSuccess(emiter => emiter.TryEmit(query, _context))); }