WaitForCommand

fun interface WaitForCommand

Provides an interface for waiting for a command.

Functions

Link copied to clipboard
abstract operator fun invoke(cancellationToken: CancellationToken): String

Wait for a command. A cancellationToken can be provided to accommodate cancellation of the invocation.