• Preparing search index...
  • The search index is not available
@bluelibs/runner - v4.5.10
  • @bluelibs/runner
  • run

Function run

  • run<C, V>(resourceOrResourceWithConfig, options?): Promise<RunResult<V extends Promise<infer U>
        ? U
        : V>>
  • This is the central function that kicks off you runner. You can run as many resources as you want in a single process, they will run in complete isolation.

    Type Parameters

    • C
    • V extends Promise<any>

    Parameters

    • resourceOrResourceWithConfig: IResourceWithConfig<C, V, any, any, any, TagType[], IResourceMiddleware<any, void, void, any>[]> | IResource<void, V, any, any, any, TagType[], ResourceMiddlewareAttachmentType[]> | IResource<{}, V, any, any, any, TagType[], ResourceMiddlewareAttachmentType[]>

      The resource or resource with config to run.

    • Optionaloptions: RunOptions

      The options for the run.

    Returns Promise<RunResult<V extends Promise<infer U>
        ? U
        : V>>

    A promise that resolves to the result of the run.

    • Defined in src/run.ts:34

Settings

Member Visibility
@bluelibs/runner - v4.5.10
  • Loading...

Generated using TypeDoc