/// <summary> /// DivertEvents(). It is to allow events that an embedded script would expect to get in the inputcallback to be /// diverted to the event socket. /// </summary> /// <returns></returns> public async Task <bool> DivertEvents() { var command = new DivertEventsCommand(true); var reply = await Send(command); return(reply != null && reply.IsSuccessful); }
public async Task DivertEventsAsync(bool flag) { var command = new DivertEventsCommand(flag); await SendCommandAsync(command); }
/// <summary> /// DivertEvents(). It is to allow events that an embedded script would expect to get in the inputcallback to be /// diverted to the event socket. /// </summary> /// <returns></returns> public async Task<bool> DivertEvents() { var command = new DivertEventsCommand(true); var reply = await Send(command); return reply != null && reply.IsSuccessful; }