Last active
February 21, 2024 15:55
-
-
Save vahidvdn/468bd3a8b96541bc503517515ed0a83c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ICommand } from './command.interface'; | |
export interface ICommandHandler<TCommand extends ICommand = any, TResult = any> { | |
execute(command: TCommand): Promise<TResult>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment