/// <summary> /// Complete the read operation, after any I/O is completed. /// </summary> /// <returns>The read result, or throws an exception if error encountered.</returns> public (Status, Output) Complete() { if (status != Status.PENDING) { return(status, output); } return(readAsyncInternal.Complete()); }