API › @qwik.dev/qwik/worker

worker$

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

Parameter

Type

Description

qrl

T

Returns:

QRL<T>

Edit this section

WorkerConstructorQRL

export interface WorkerConstructorQRL

Edit this section

WorkerFunction

export interface WorkerFunction

Edit this section

workerQrl

workerQrl: WorkerConstructorQRL;

Edit this section