Skip to main content

Function: startServiceRuntime()

function startServiceRuntime(world: IWSDKWorldLike, profileFactory: (adapter: IWSDKAdapter) => ServiceProfile): ServiceRuntime;

Defined in: service-framework-iwsdk/src/bootstrap.ts:21

Parameters

ParameterTypeDescription
worldIWSDKWorldLikethe IWSDK world (owns the loop / XR session).
profileFactory(adapter: IWSDKAdapter) => ServiceProfilebuilds the app service graph from the adapter, e.g. (adapter) => createServiceProfile("my-app", [...]).

Returns

ServiceRuntime