Interface IAsyncCommand

Wraps an async void function returning a Result

interface IAsyncCommand {
    AsyncCommand: (() => Promise<void>);
    Execute(): Promise<Result<null>>;
}

Implemented by

Properties

Methods

Properties

AsyncCommand: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

Methods

Generated using TypeDoc