MCPcopy Create free account

hub / github.com/taskforcesh/bullmq / functions

Functions3,768 in github.com/taskforcesh/bullmq

MethodmaximumBlockTimeout
()
src/classes/worker.ts:780
Methodmaximum_rate_limit_delay
Set the maximum time to wait when rate limited.
rust/src/options.rs:539
MethodmetaValues
()
src/classes/queue.ts:230
Methodmetrics
Enable time-series metrics collection.
rust/src/options.rs:563
Functionmigration_files
Return the ordered list of migration ``.sql`` filenames.
python/bullmq/postgres/sql_loader.py:81
MethodminimumBlockTimeout
Smallest meaningful blocking timeout (in seconds) for the blocking primitive.
python/bullmq/backend.py:73
MethodminimumBlockTimeout
(self)
python/bullmq/worker.py:394
MethodminimumBlockTimeout
(self)
python/bullmq/backends/redis_backend.py:136
MethodminimumBlockTimeout
(self)
python/bullmq/backends/postgres_backend.py:259
MethodminimumBlockTimeout
* PostgreSQL `LISTEN`/`NOTIFY` has no minimum block granularity, so any * positive timeout is fine; we mirror the Redis backend's smallest unit.
src/postgres/postgres-queue-backend.ts:397
MethodminimumBlockTimeout
* Smallest meaningful block timeout (seconds) given the blocking * connection's capabilities.
src/classes/redis-queue-backend.ts:390
MethodminimumBlockTimeout
()
src/classes/worker.ts:776
MethodmoveJobFromActiveToWait
(jobId: string, token = '0')
src/postgres/postgres-queue-backend.ts:998
MethodmoveJobFromActiveToWait
* Moves a job back from Active to Wait. * This script is used when a job has been manually rate limited and needs * to be moved back to wait fro
src/classes/redis-queue-backend.ts:2139
MethodmoveStalledJobsToWait
(self, maxStalledCount: int, stalledInterval: int)
python/bullmq/scripts.py:828
MethodmoveStalledJobsToWait
Recover stalled jobs (active jobs whose lock expired) back to wait.
python/bullmq/backend.py:209
MethodmoveStalledJobsToWait
( self, max_stalled_count: int, stalled_interval: int )
python/bullmq/backends/redis_backend.py:258
MethodmoveStalledJobsToWait
(self, max_stalled_count: int, stalled_interval: int)
python/bullmq/backends/postgres_backend.py:554
MethodmoveStalledJobsToWait
()
src/postgres/postgres-queue-backend.ts:1077
MethodmoveStalledJobsToWait
* Looks for unlocked jobs in the active queue. * * The job was being worked on, but the worker process died and it failed to renew the lock.
src/classes/redis-queue-backend.ts:2122
MethodmoveToActive
Add an item to the queue
python/bullmq/scripts.py:682
MethodmoveToActive
Atomically move the next eligible job from wait/prioritized to active.
python/bullmq/backend.py:147
MethodmoveToActive
(self, token: str, opts: dict)
python/bullmq/backends/redis_backend.py:201
MethodmoveToActive
(token: string, name?: string)
src/classes/redis-queue-backend.ts:2023
MethodmoveToCompleted
(self, job: Job, val: Any, removeOnComplete, token: str, fetchNext=True)
python/bullmq/scripts.py:782
MethodmoveToCompleted
(self, return_value, token:str, fetchNext:bool = False)
python/bullmq/job.py:191
MethodmoveToCompleted
Move an active job to completed and optionally fetch the next job. Returns ``{"result": next_job_data_or_None, "finishedOn": timestamp}``.
python/bullmq/backend.py:151
MethodmoveToCompleted
( self, job: "Job", return_value: Any, remove_on_complete: Any, token:
python/bullmq/backends/redis_backend.py:204
MethodmoveToCompleted
( self, job: "Job", return_value: Any, remove_on_complete: Any, token: str, fetch_next: bool = True
python/bullmq/backends/postgres_backend.py:418
MethodmoveToCompleted
( job: MinimalJob<T, R, N>, returnValue: R, removeOnComplete: boolean | number | KeepJobs, tok
src/postgres/postgres-queue-backend.ts:803
MethodmoveToCompleted
* Moves a job to the completed queue. * Returned job to be used with Queue.prototype.nextJobFromJobData. * * @param returnValue - The jobs su
src/classes/job.ts:642
MethodmoveToCompleted
( job: MinimalJob<T, R, N>, returnValue: R, removeOnComplete: boolean | number | KeepJobs, tok
src/classes/redis-queue-backend.ts:2419
MethodmoveToDelayed
(self, job_id: str, timestamp: int, delay: int, token: str = "0", opts: dict = {})
python/bullmq/scripts.py:353
MethodmoveToDelayed
Moves the job to the delay set. Only allowed while the job is active, i.e. called from inside a processor, and a DelayedError must be
python/bullmq/job.py:281
MethodmoveToDelayed
Move a job to the delayed state, scheduling it after ``delay`` ms.
python/bullmq/backend.py:180
MethodmoveToDelayed
( self, job_id: str, timestamp: int, delay: int, token: str = "0",
python/bullmq/backends/redis_backend.py:234
MethodmoveToDelayed
( self, job_id: str, timestamp: int, delay: int, token: str = "0", opts: dict = {} )
python/bullmq/backends/postgres_backend.py:500
MethodmoveToDelayed
( jobId: string, timestamp: number, delay: number, token?: string, opts?: MoveToDelayedOpt
src/postgres/postgres-queue-backend.ts:938
MethodmoveToDelayed
* Moves the job to the delay set. * * @param timestamp - timestamp when the job should be moved back to "wait" * @param token - token to chec
src/classes/job.ts:1171
MethodmoveToDelayed
( jobId: string, timestamp: number, delay: number, token = '0', opts: MoveToDelayedOpts =
src/classes/redis-queue-backend.ts:1685
MethodmoveToFailed
(self, job: Job, failedReason: str, removeOnFailed, token: str, fetchNext=True)
python/bullmq/scripts.py:787
MethodmoveToFailed
(self, err, token:str, fetchNext:bool = False)
python/bullmq/job.py:203
MethodmoveToFailed
Move an active job to failed and optionally fetch the next job. Returns ``{"result": next_job_data_or_None, "finishedOn": timestamp}``.
python/bullmq/backend.py:165
MethodmoveToFailed
( self, job: "Job", failed_reason: str, remove_on_fail: Any, token: st
python/bullmq/backends/redis_backend.py:219
MethodmoveToFailed
( job: MinimalJob<T, R, N>, failedReason: string, removeOnFail: boolean | number | KeepJobs, t
src/postgres/postgres-queue-backend.ts:870
MethodmoveToFailed
* Moves a job to the failed queue. * * @param err - the jobs error message. * @param token - token to check job is locked by current worker
src/classes/job.ts:725
MethodmoveToFailed
( job: MinimalJob<T, R, N>, failedReason: string, removeOnFail: boolean | number | KeepJobs, t
src/classes/redis-queue-backend.ts:2447
MethodmoveToWaitingChildren
(self, job_id, token, opts)
python/bullmq/scripts.py:197
MethodmoveToWaitingChildren
(self, token, opts:dict)
python/bullmq/job.py:297
MethodmoveToWaitingChildren
Move a parent job to the waiting-children state.
python/bullmq/backend.py:191
MethodmoveToWaitingChildren
(self, job_id: str, token: str, opts: dict)
python/bullmq/backends/redis_backend.py:244
MethodmoveToWaitingChildren
(self, job_id: str, token: str, opts: dict)
python/bullmq/backends/postgres_backend.py:525
MethodmoveToWaitingChildren
( jobId: string, token: string, _opts?: MoveToWaitingChildrenOpts, )
src/postgres/postgres-queue-backend.ts:970
MethodmoveToWaitingChildren
* Moves the job to the waiting-children set. * * @param token - Token to check job is locked by current worker * @param opts - The options ba
src/classes/job.ts:1190
MethodmoveToWaitingChildren
* Move parent job to waiting-children state. * * @returns true if job is successfully moved, false if there are pending dependencies. * @thro
src/classes/redis-queue-backend.ts:1720
Methodmove_job_from_active_to_wait
Move a job from the active list back to wait (or prioritized, if it has a priority). Used when a processor signals a rate-limit via [`Error::RateLimit
rust/src/worker.rs:1751
Methodmove_to_delayed_for_retry
Move a failed job to delayed queue for retry with backoff.
rust/src/worker.rs:1991
Methodmove_to_finished_fast
( conn: &RedisConnection, base_keys: &[String], prefix_bytes: &[u8], keys: &Qu
rust/src/worker.rs:1828
Methodmove_to_permanent_failure
Move a job to permanent failure state. Returns the next job to process when `fetch_next` was honoured by the `moveToFinished` script (single round-tr
rust/src/worker.rs:1705
Methodmulti
()
src/classes/bun-redis-client.ts:749
Methodname
The event name as written to the stream (matches the Node.js event name).
rust/src/queue_events.rs:241
Methodname
(&self)
rust/src/keys.rs:194
Methodname
Set the worker name (stored on processed jobs).
rust/src/options.rs:453
Methodnew
Create a flow job named `name` for `queue_name` with the given `data`. `data` may be any [`Serialize`] type (your own struct, a [`serde_json::Value`]
rust/src/flow_producer.rs:51
Methodnew
Create a new job with the given name, data, and options.
rust/src/job.rs:116
Methodnew
Create a new connection from options.
rust/src/redis_connection.rs:61
Methodnew
Create a new `QueueEvents` listener with default options. Uses a default Redis connection (`redis://127.0.0.1:6379`) and the `bull` key prefix. Use [
rust/src/queue_events.rs:380
Methodnew
Create a new key context with the given prefix and queue name.
rust/src/keys.rs:51
Methodnew
Create a new active (non-cancelled) token.
rust/src/worker.rs:68
Methodnew
Create a new Queue with default options. Uses a default Redis connection (`redis://127.0.0.1:6379`) and the `bull` key prefix. Use [`Queue::with_opti
rust/src/queue.rs:69
Methodnew
Create a new Lua script from name, key count, and content.
rust/src/scripts.rs:24
Methodnew
Create default queue options.
rust/src/options.rs:277
Methodnext_event
Wait for and return the next event, or `None` once the listener is closed and the buffer is drained.
rust/src/queue_events.rs:565
MethodnonOp
()
src/commands/script-loader.ts:218
Methodnoop_emit
(*args, **kwargs)
python/tests/worker_test.py:879
Methodnormalize_host_for_url
(host: &str)
rust/src/options.rs:195
Methodnotifies
(self, timeout=None, stop_after=None)
python/tests/postgres_backend_test.py:302
Methodobliterate
Remove a queue completely
python/bullmq/scripts.py:632
Methodobliterate
Irreversibly destroy the queue and all of its contents. Returns a cursor.
python/bullmq/backend.py:244
Methodobliterate
(self, count: int, force: bool = False)
python/bullmq/backends/redis_backend.py:284
Methodobliterate
(self, count: int, force: bool = False)
python/bullmq/backends/postgres_backend.py:589
Methodobliterate
* Obliterate (completely destroy) the queue. * * This removes ALL data associated with the queue including jobs, logs, etc. * Use with
php/src/Queue.php:518
Methodobliterate
* Obliterate (completely destroy) the queue. * * @param int $count Maximum number of jobs to remove per iteration * @param bool $force
php/src/Scripts.php:457
Methodobliterate
(opts: { force: boolean; count: number })
src/postgres/postgres-queue-backend.ts:1142
Methodobliterate
* Completely destroys the queue and all of its contents irreversibly. * This method will *pause* the queue and requires that there are no * acti
src/classes/queue.ts:837
Methodobliterate
(opts: { force: boolean; count: number })
src/classes/redis-queue-backend.ts:2174
Methodoff
(self, event_name: str, function)
python/bullmq/event_emitter.py:19
Methodoff
( eventName: U, listener: QueueListener<JobBase<DataType, ResultType, NameType>>[U], )
src/classes/queue.ts:199
Methodoff
( eventName: U, listener: FlowProducerListener[U], )
src/classes/flow-producer.ts:153
Methodoff
(eventName: U, listener: QEL[U])
src/classes/queue-events.ts:305
Methodon
(self, event_name: str, function)
python/bullmq/event_emitter.py:10
Methodon
(event: 'notification', listener: (msg: PgNotification) => void)
src/postgres/pg-types.ts:56
Methodon
( event: U, listener: QueueListener<JobBase<DataType, ResultType, NameType>>[U], )
src/classes/queue.ts:207
Methodon
( event: U, listener: FlowProducerListener[U], )
src/classes/flow-producer.ts:161
Methodon
* Subscribes to normalized backend lifecycle events (`'ready'`, `'error'`, * `'close'`), derived from the underlying connection(s).
src/interfaces/queue-backend.ts:126
Methodon
(event: string, listener: (...args: any[]) => void)
src/interfaces/redis-client.ts:46
Methodon
(event: string | symbol, listener: (...args: any[]) => void)
src/interfaces/minimal-queue.ts:31
Methodon
(...args: any[])
src/interfaces/redis-options.ts:40
FunctiononActive
()
tests/events.test.ts:437
MethodonCloseHandler
(code: number, signal: number)
src/classes/child.ts:199
← previousnext →2,501–2,600 of 3,768, ranked by callers