Interface Controls<Selected, Ending>

A control object for a Follower function to signal exit behaviour, retrieve references.

interface Controls<Selected, Ending> {
    exit: ((ending) => ExitStatus);
    lastSelected: (() => undefined | Selected);
}

Type Parameters

  • Selected
  • Ending

Properties

Properties

exit: ((ending) => ExitStatus)

Type declaration

lastSelected: (() => undefined | Selected)

Type declaration