Type alias ServiceRequestExecutorFn<Paths, Path, Method>

ServiceRequestExecutorFn<Paths, Path, Method>: ServiceRequestExecutor<Paths, Path, Method>

Type alias for the service request executor function signature. This executor is automatically passed as the last parameter to methods decorated with

Type Parameters

  • Paths extends Record<string, any> = Record<string, any>
  • Path extends keyof Paths = string
  • Method extends HttpMethod = "get"

Kos Service Request

(without lifecycle).

Example

type CreateReleaseExecutor = ServiceRequestExecutor<paths, typeof PATH_VM_INSTALL, 'post'>;