Skip to main content

RpcOptions

Note: this document is automatically generated from configuration objects in our source code. See Config guide for more info

Source file

packages/core/rpc/configSchema.ts

RpcOptions - Slots

slot: defaultDriver

defaultDriver: {
type: 'string',
description:
'the RPC driver to use for tracks and tasks that are not configured to use a specific RPC backend',
defaultValue: 'MainThreadRpcDriver',
}

slot: drivers

drivers: types.optional(
types.map(
types.union(
MainThreadRpcDriverConfigSchema,
WebWorkerRpcDriverConfigSchema,
),
),
{
MainThreadRpcDriver: { type: 'MainThreadRpcDriver' },
WebWorkerRpcDriver: { type: 'WebWorkerRpcDriver' },
},
)