Interface IUseCase<CommandType, ResponseType>

Interface representing a use case

Export

Interface

IUseCase

Since

1.0.0

Version

1.0.0

License

MIT

Author

Julian Andres Lasso Figueroa julian.lasso@sofka.com.co

Type Parameters

  • CommandType

    Type of input payload

  • ResponseType

    Type of response

Hierarchy

  • IUseCase

Methods

Methods

  • Executes the use case

    Returns

    {(Observable | Promise)} - Output data type

    Memberof

    IUseCase

    Parameters

    • Optional command: CommandType

      Input payload for the use case, if applicable

    Returns ResponseType | Observable<ResponseType> | Promise<ResponseType>

Generated using TypeDoc