rest-vir - v2.2.0
    Preparing search index...

    Type Alias CreateHostContextBase<HostContext, ExtraParams>

    CreateHostContextBase: BivariantFunction<
        [BaseCreateHostContextParams & ExtraParams],
        MaybePromise<CreateHostContextOutput<HostContext>>,
    >

    Generic createHostContext callback shape. Both host and client (mock-host) reuse this by supplying their own ExtraParams (the environment-specific parameters layered onto the shared BaseCreateHostContextParams).

    Type Parameters

    • HostContext
    • ExtraParams = unknown