Docs
  • Getting StartedThis section provides an overview of getting started with Qwik.
  • StateLearn how to manage state in Qwik applications.
  • EventsDiscover how to handle events in Qwik applications.
  • RoutingUnderstand how to implement routing in Qwik applications.
  • DeploymentFind out how to deploy your Qwik application to production.
CoreQwik CoreTutorialLifecycleEventsTasksSlots
EcosystemIntegrationsCookbooks
RouterQwik RouterRoutingData FetchingDeploymentsMiddlewareAPI Routes
ResourcesBlogConceptsPlaygroundQwik LabsMediaPressCommunity
Get started
State
Lifecycle
Events
Tasks
Slots
Qwik CoreWhat's inside the core framework?
Your first appA guided tutorial
IntegrationsFind tools you can use out-of-the-box with Qwik
CookbooksGuides, recipes and examples
Routing
Data Fetching
Deployments
Middleware
API Routes
Qwik RouterA fast way to start iterating with Qwik apps
BlogLatest news and updates
ConceptsThink Qwik
Playground
Qwik Labs
Media
Press
Community
Docs
  • Getting StartedThis section provides an overview of getting started with Qwik.
  • StateLearn how to manage state in Qwik applications.
  • EventsDiscover how to handle events in Qwik applications.
  • RoutingUnderstand how to implement routing in Qwik applications.
  • DeploymentFind out how to deploy your Qwik application to production.
Get Started

API › @qwik.dev/qwik/worker

worker

worker: WorkerConstructor;

Edit this section

worker$

worker$: <T extends WorkerFunction>(qrl: T) => QRL<T>;

Parameter

Type

Description

qrl

T

Returns:

QRL<T>

Edit this section

WorkerConstructor

export interface WorkerConstructor

Edit this section

WorkerConstructorQRL

export interface WorkerConstructorQRL

Edit this section

WorkerFunction

export interface WorkerFunction

Edit this section

workerQrl

workerQrl: WorkerConstructorQRL;

Edit this section

Start building Qwikly today!

Get Started
Core
Qwik CoreTutorialLifecycleEventsTasksSlots
Ecosystem
IntegrationsCookbooks
Router
Qwik RouterRoutingData FetchingDeploymentsMiddlewareAPI Routes
Resources
BlogConceptsPlaygroundQwik Labsllms.txt

Automatically instant web apps

Core
Qwik CoreTutorialLifecycleEventsTasksSlots
Ecosystem
IntegrationsCookbooks
Router
Qwik RouterRoutingData FetchingDeploymentsMiddlewareAPI Routes
Resources
BlogConceptsPlaygroundQwik Labsllms.txt

Copyright © 2026 Qwik