Amplify JS API Documentation
    Preparing search index...
    RunOperationWithContext: <Result>(
        amplifyConfig: ResourcesConfig,
        libraryOptions: LibraryOptions,
        operation: (
            contextSpec: AmplifyServer.ContextSpec,
        ) => Result | Promise<Result>,
    ) => Promise<Result>

    Type Declaration

    The server-context manager has been removed in favor of the branded AmplifyContext model. Prefer building a context explicitly with createAmplifyContext(). Mirrors the deleted original, with the operation's contextSpec argument mapped onto ContextSpec (i.e. AmplifyContext).