import { UseCase } from '../use-case/use-case' ; import { ExecutionOptions } from '../use-case/execution-options' ; export class Context { result ? : Promise < unknown > ; private constructor ( public useCase , readonly executionOptions , readonly param ? ) { } static create ( { useCase , param , executionOptions } ) { return new Context ( useCase , executionOptions , param ) ; } }