Options for createSynapseContext.

1.2.0

interface CreateSynapseContextOpts {
    modules?: ContextModule[];
    scopeId?: string;
    skipBuiltins?: boolean;
}

Properties

modules?: ContextModule[]

Custom modules to register alongside the built-in modules. Modules are registered in order, so later modules can override earlier registrations.

scopeId?: string

Scope ID for the root context.

'synapse'
skipBuiltins?: boolean

Skip registering built-in modules (core, programs). Useful for testing or when you want full control.

false