Contents

run(reply:)

Runs the user interaction and asynchronously receives a reply.

Declaration

func run(reply: @escaping  @Sendable (Bool, (any Error)?) -> Void)
func run() async throws -> Bool

Parameters

  • reply:

    success

    Whether the user interaction was successful.

    error

    Contains information about the the error that occurred during the user interaction.

    The NSError object is created in the Tkerrordomain domain with a code in the Code enumeration.

See Also

Starting and Stopping