/// <summary> /// This gets called if IsComplete returned false on the first call. /// The Action "continues" the async call. We pass it to the Dispatch /// to be called when the callback returns. /// </summary> public void OnCompleted(Action continuation) { if (IsCompleted) { continuation(); } else { Dispatch.OnCallComplete <T>(call, continuation, server); } }
/// <summary> /// This gets called if IsComplete returned false on the first call. /// The Action "continues" the async call. We pass it to the Dispatch /// to be called when the callback returns. /// </summary> public void OnCompleted(Action continuation) { Dispatch.OnCallComplete(call, continuation); }
/// <summary> /// This gets called if IsComplete returned false on the first call. /// The Action "continues" the async call. We pass it to the Dispatch /// to be called when the callback returns. /// </summary> public void OnCompleted(Action continuation) { Dispatch.OnCallComplete <T>(call, continuation, server); }