Interface ICommand

Wraps a void function returning a Result

interface ICommand {
    Command: (() => void);
    Execute(): Result<null>;
}

Implemented by

Properties

Methods

Properties

Command: (() => void)

Type declaration

    • (): void
    • Returns void

Methods

Generated using TypeDoc