AsyncRunner

public protocol AsyncRunner : Actor

A type that methods for running.

  • Indicates whether the receiver is running.

    Declaration

    Swift

    var isRunning: Bool { get }
  • startRunning() Asynchronous

    Tells the receiver to start running.

    Declaration

    Swift

    func startRunning() async
  • stopRunning() Asynchronous

    Tells the receiver to stop running.

    Declaration

    Swift

    func stopRunning() async