Method WriteLineAndWait
WriteLineAndWait(string, OutputMessageKind)
Writes the specified text to the output and waits for the operation to complete.
public virtual void WriteLineAndWait(string text, OutputMessageKind kind = OutputMessageKind.Debug)
Parameters
text
stringThe text to write to the output. Cannot be null or empty.
kind
OutputMessageKindThe kind of output message to write. Defaults to Debug.
Remarks
This method writes the provided text to the output stream based on the specified message kind and ensures the operation is completed before returning. The behavior of the output may vary depending on the implementation of the output mechanism.