getWorldHandlers
Returns a restricted view of the World exposing only the members that are safe to use at build time: createQueueHandler and specVersion. Framework adapters use it while generating workflow route handlers, before the deployment's runtime environment variables exist.
Unlike getWorld(), this function does not cache a fully configured World instance: caching at build time would lock in incomplete environment configuration.
API signature
Parameters
This function does not accept any parameters.
Returns
Returns a Promise<WorldHandlers>, where:
This is SDK infrastructure used by framework adapters at build time. Runtime routes and application code should use getWorld() instead.
Related functions
getWorld(): Resolve the full World instance at runtime.workflowEntrypoint(): Create the runtime route handler that shares the full World instance.