useQueue API
API reference for the useQueue composable.
numberDefault timeout in milliseconds for tickets without explicit timeout
Default: 3000
(ticket?: Partial<Z>) => ZRegister a new ticket in the queue
(id?: ID) => Z | undefinedUnregister a ticket from the queue
() => Z | undefinedPause the timeout of the first ticket in the queue
() => Z | undefinedResume the timeout of the first paused ticket in the queue
() => voidClear the entire queue
() => voidDispose of the queue and clean up resources