TryReadEvent(out TerminalEvent) Method

Definition

Assembly XenoAtom.Terminal.dll

Tries to read a single event without awaiting.

public static bool TryReadEvent(scoped out TerminalEvent ev)

Parameters

ev
TerminalEvent

When this method returns true, contains the event.

Returns

Boolean
true when an event was available; otherwise false.

Remarks

When ImplicitStartInput is enabled, this method starts the input loop automatically.