Skip to content

TapeWaitCommand

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Waits for a regular expression to match terminal text.

csharp
public sealed record TapeWaitCommand : TapeCommand, IEquatable<TapeCommand>, IEquatable<TapeWaitCommand>

Inheritance

ObjectTapeCommandTapeWaitCommand

Implements

Constructors

TapeWaitCommand(TapeWaitScope, string?, TapeDurationLiteral?, TapeSourceSpan)

Waits for a regular expression to match terminal text.

Parameters:

  • Scope (TapeWaitScope): The text region to examine.
  • Pattern (String): The explicit pattern, including an empty pattern, or null for the runtime default.
  • Timeout (TapeDurationLiteral): The explicit timeout, or null for the runtime default.
  • Span (TapeSourceSpan): The instruction's source range.
csharp
public TapeWaitCommand(TapeWaitScope Scope, string? Pattern, TapeDurationLiteral? Timeout, TapeSourceSpan Span)

Properties

Pattern

The explicit pattern, including an empty pattern, or null for the runtime default.

Returns: String

csharp
public string? Pattern { get; init; }

Scope

The text region to examine.

Returns: TapeWaitScope

csharp
public TapeWaitScope Scope { get; init; }

Timeout

The explicit timeout, or null for the runtime default.

Returns: TapeDurationLiteral

csharp
public TapeDurationLiteral? Timeout { get; init; }

Released under the MIT License.