Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/taskforcesh/bullmq
/ functions
Functions
3,768 in github.com/taskforcesh/bullmq
⨍
Functions
3,768
◇
Types & classes
487
↳
Endpoints
8
↓ 1 callers
Method
checkBlockingOptions
( msg: string, options?: RedisOptions, throwError = false, )
src/classes/redis-connection.ts:294
↓ 1 callers
Function
checkCompleted
()
tests/worker.redis.test.ts:260
↓ 1 callers
Function
checkDone
()
tests/job_cancellation_advanced.test.ts:599
↓ 1 callers
Function
check_meta_exists
Helper to check if a queue has a meta key set.
rust/tests/flow_test.rs:1006
↓ 1 callers
Function
childSend
( proc: NodeJS.Process, msg: ChildMessage, )
src/utils/index.ts:298
↓ 1 callers
Method
clean
* Cleans jobs from a queue. Similar to drain but keeps jobs within a certain * grace period. * * @param grace - The grace period in milliseco
src/classes/queue.ts:771
↓ 1 callers
Method
cleanJobsByState
* Removes jobs in a given state that are older than `timestamp`. * @returns The ids of the removed jobs.
src/interfaces/queue-backend.ts:404
↓ 1 callers
Method
cleanJobsInSet
(self, set: str, grace: int = 0, limit:int = 0)
python/bullmq/scripts.py:179
↓ 1 callers
Method
cleanJobsInSet
* Clean jobs from a set. * * @param string $type * @param int $grace Time in milliseconds * @param int $limit Maximum number of jo
php/src/Scripts.php:430
↓ 1 callers
Method
cleanJobsInSetArgs
(self, set: str, grace: int, limit:int = 0)
python/bullmq/scripts.py:171
↓ 1 callers
Function
cleanQueue
(name: string)
tests/bun-adapter-suite.test.ts:31
↓ 1 callers
Function
cleanQueue
(name: string)
tests/node-redis.test.ts:49
↓ 1 callers
Function
cleanQueue
(name: string)
tests/bun-redis.test.ts:49
↓ 1 callers
Method
clearCache
* Clears the command cache
src/commands/script-loader.ts:575
↓ 1 callers
Method
clearConnectionNameIfNeeded
( raw: ValkeyGlideRawClient, )
src/classes/valkey-glide-client.ts:485
↓ 1 callers
Method
clientName
(self, suffix: Optional[str] = None)
python/bullmq/backends/postgres_backend.py:294
↓ 1 callers
Function
clientReporting
(major: number)
tests/postgres/migration.test.ts:262
↓ 1 callers
Method
clientSetName
(name: string)
src/classes/bun-redis-client.ts:1071
↓ 1 callers
Method
close
Close the underlying Redis connection.
python/bullmq/queue_events_producer.py:108
↓ 1 callers
Method
close
Close the connection
python/bullmq/redis_connection.py:130
↓ 1 callers
Method
close
(self, force: bool = False)
python/bullmq/backends/redis_backend.py:93
↓ 1 callers
Method
close
(self, force: bool = False)
python/bullmq/backends/postgres_backend.py:244
↓ 1 callers
Method
close
* Close the queue connection. * * @return void */
php/src/Queue.php:599
↓ 1 callers
Method
close
Close the flow producer connection.
rust/src/flow_producer.rs:1129
↓ 1 callers
Method
close
* Closes the connection: releases the `LISTEN` client and (if owned) ends the * pool. Safe to call multiple times.
src/postgres/postgres-connection.ts:447
↓ 1 callers
Method
close
()
src/classes/valkey-glide-client.ts:32
↓ 1 callers
Method
collectFlowEntry
* Collects a single job insert for a flow, preserving the same await point * as the previous transaction-based insert so that the relative order of
src/classes/flow-producer.ts:478
↓ 1 callers
Method
commandByType
( types: JobType[], count: boolean, callback: (key: string, dataType: string) => void, )
src/classes/queue-getters.ts:40
↓ 1 callers
Method
connect
()
src/classes/node-redis-client.ts:298
↓ 1 callers
Method
connectClusterWithTimeout
( client: BlockingClusterClient, timeoutMs: number, )
src/classes/redis-connection.ts:668
↓ 1 callers
Method
consumeEvents
()
src/classes/queue-events.ts:354
↓ 1 callers
Function
convertExecArgv
(execArgv: string[])
src/classes/child.ts:243
↓ 1 callers
Method
createBackend
()
src/classes/job.ts:408
↓ 1 callers
Method
createBackend
()
src/classes/queue-base.ts:101
↓ 1 callers
Function
createBlockingConnection
( name: string, opts: QueueBaseOptions, )
src/utils/create-backend.ts:18
↓ 1 callers
Method
createClient
(config: Record<string, any>)
tests/valkey-glide-client.test.ts:65
↓ 1 callers
Function
createCompatibilityBatch
()
src/classes/valkey-glide-client.ts:47
↓ 1 callers
Function
createConnectedClient
()
tests/bun-adapter-suite.test.ts:24
↓ 1 callers
Function
createConnectedClient
()
tests/node-redis.test.ts:36
↓ 1 callers
Function
createConnectedClient
()
tests/bun-redis.test.ts:39
↓ 1 callers
Function
createConnection
(client: any)
tests/connection.test.ts:472
↓ 1 callers
Function
createGlideBatch
(isAtomic: boolean)
src/classes/valkey-glide-client.ts:58
↓ 1 callers
Method
createJob
( data: JobJson, jobId: string, )
src/classes/worker.ts:491
↓ 1 callers
Method
createLockManager
* Creates and configures the lock manager for processing jobs. * This method can be overridden in subclasses to customize lock manager behavior.
src/classes/worker.ts:386
↓ 1 callers
Function
createMockClusterClient
(overrides: Record<string, any> = {})
tests/connection.test.ts:31
↓ 1 callers
Function
createProcessor
( name: string, resolve: (value: void | PromiseLike<void>) => void, reject: (value: vo
tests/delay.test.ts:298
↓ 1 callers
Function
createTestClient
()
tests/adapter-conformance.test.ts:28
↓ 1 callers
Function
create_postgres_backend
Backend factory: build a :class:`PostgresBackend` for ``name``.
python/bullmq/backends/postgres_backend.py:944
↓ 1 callers
Function
create_redis_backend
Default backend factory: build a :class:`RedisBackend` for ``name``. The queue classes call this so they depend only on the :class:`~bullmq.b
python/bullmq/backends/redis_backend.py:525
↓ 1 callers
Method
dedicated_connection
Create a new dedicated connection (e.g., for blocking operations).
rust/src/redis_connection.rs:107
↓ 1 callers
Method
deferred_failure
Deferred failure reason (set when a child fails with failParentOnFailure). When set, the worker will fail this job without processing.
rust/src/job.rs:197
↓ 1 callers
Method
disableBlockingClusterReconnect
()
src/classes/redis-connection.ts:542
↓ 1 callers
Method
discard
Marks the job to not be retried if it fails, even if `attempts` is set. This mirrors Node.js `Job.discard()`. For new code, returning [`Error::Unreco
rust/src/job.rs:273
↓ 1 callers
Method
discarded_handle
Shared handle to the discard flag, used by the worker to observe a `discard()` call made inside the processor.
rust/src/job.rs:284
↓ 1 callers
Method
disconnect
(reconnect = false)
src/classes/valkey-glide-client.ts:594
↓ 1 callers
Method
disconnectBlocking
* Interrupts the backend's in-flight blocking wait (so a worker can stop or * recover). No-op for backends without a dedicated blocking connection.
src/interfaces/queue-backend.ts:775
↓ 1 callers
Function
doAsyncWork
tests/fixtures/fixture_processor_ttl.js:36
↓ 1 callers
Function
doCleanup
tests/fixtures/fixture_processor_ttl.js:41
↓ 1 callers
Method
drainArgs
(delayed: boolean)
src/classes/redis-queue-backend.ts:1220
↓ 1 callers
Function
dropAll
()
tests/postgres/migration.test.ts:42
↓ 1 callers
Method
duplicate
()
src/classes/node-redis-client.ts:77
↓ 1 callers
Function
duration_as_millis
Convert a [`Duration`] to whole milliseconds, saturating at [`u64::MAX`].
rust/src/queue.rs:2915
↓ 1 callers
Method
effective_lock_renew_time
Effective lock renewal time.
rust/src/options.rs:575
↓ 1 callers
Method
effective_url
Build the effective connection URL. When [`host`](Self::host) is set, a URL is constructed from the typed fields (`scheme://[user][:pass]@host:port[/
rust/src/options.rs:158
↓ 1 callers
Method
emit
( event: U, ...args: Parameters<FlowProducerListener[U]> )
src/classes/flow-producer.ts:146
↓ 1 callers
Function
enableSocketKeepAlive
* Best-effort: turns TCP keepalive on for an already-established client's * socket. Needed for the pooled `LISTEN` client, since a user-supplied * `
src/postgres/postgres-connection.ts:90
↓ 1 callers
Function
ensureExt
(filename: string, ext = 'lua')
src/commands/script-loader.ts:580
↓ 1 callers
Function
ensureLedgerTable
(client: PgQueryable)
src/postgres/migrator.ts:313
↓ 1 callers
Method
ensureListening
Subscribes the dedicated client to the shared jobs channel (once).
src/postgres/postgres-queue-backend.ts:2109
↓ 1 callers
Method
ensureListeningEvents
Subscribes the dedicated client to the shared events channel (once).
src/postgres/postgres-queue-backend.ts:2119
↓ 1 callers
Method
ensureOpen
()
src/classes/valkey-glide-client.ts:382
↓ 1 callers
Method
ensureScriptsLoaded
* Ensure the given scripts are present in the server-side SCRIPT cache so * that subsequent EVALSHA calls (e.g. inside a MULTI/EXEC) won't fail wit
src/classes/bun-redis-client.ts:680
↓ 1 callers
Function
escapePrometheusLabelValue
* Escape a Prometheus label value per the text exposition format. * https://prometheus.io/docs/instrumenting/exposition_formats/ * * Backslashes, d
src/classes/queue-getters.ts:22
↓ 1 callers
Function
escape_prometheus_label_value
Escape a Prometheus label value (`\`, `"`, and newlines). Mirrors Node.js `escapePrometheusLabelValue`.
rust/src/queue.rs:2922
↓ 1 callers
Function
every
( collection: readonly T[] | Record<string, T>, predicate: ( value: T, indexOrKey: number | string
tests/utils/lodash.ts:16
↓ 1 callers
Method
exec
()
src/classes/node-redis-client.ts:64
↓ 1 callers
Method
execQueuedCommands
( commands: { args: GlideArg[]; transform?: (value: unknown) => unknown }[], )
src/classes/valkey-glide-client.ts:1102
↓ 1 callers
Method
executeImmediately
(args: GlideArg[])
tests/valkey-glide-client.test.ts:90
↓ 1 callers
Function
expectNoUnhandledError
( create: () => { close: () => Promise<void> }, )
tests/connection.test.ts:678
↓ 1 callers
Method
exportPrometheusMetrics
* Export the metrics for the queue in the Prometheus format. * Automatically exports all the counts returned by getJobCounts(). * * @returns
src/classes/queue-getters.ts:684
↓ 1 callers
Method
extendJobLocks
* Extends locks for multiple jobs.
src/interfaces/lock-manager-worker-context.ts:12
↓ 1 callers
Method
extendLocks
(self, job_ids: list[str], tokens: list[str], duration: int)
python/bullmq/backends/postgres_backend.py:611
↓ 1 callers
Method
extendLocks
(jobIds: string[])
src/classes/lock-manager.ts:46
↓ 1 callers
Method
extend_lock
Extend the lock on this job. Useful for long-running jobs in manual processing mode to prevent the job from being considered stalled.
rust/src/job.rs:932
↓ 1 callers
Method
fetchEvents
( cursor: string, )
src/postgres/postgres-queue-backend.ts:2082
↓ 1 callers
Method
fetchone
(self)
python/tests/postgres_backend_test.py:119
↓ 1 callers
Method
finish
()
src/postgres/postgres-queue-backend.ts:2141
↓ 1 callers
Method
finishedErrors
* Create an exception from an error code. * * @param array{code: int, parentKey?: ?string, jobId?: string, command: string, state?: string}
php/src/Scripts.php:545
↓ 1 callers
Function
finished_error
Map a negative status code returned by `moveToFinished` / `moveToCompleted` to a descriptive error, mirroring Node.js `Scripts.finishedErrors`. `comm
rust/src/worker.rs:406
↓ 1 callers
Method
flatHashToArray
* Convert a flat Redis HGETALL response into an associative array. * * @param array<mixed> $flatHash * @return array<string, mixed>
php/src/Queue.php:363
↓ 1 callers
Function
flush
()
python/flush_redis.py:6
↓ 1 callers
Method
flushAll
()
src/classes/node-redis-client.ts:181
↓ 1 callers
Method
forwardConnectionEvents
* Normalizes the events of the owned connection(s) into the backend's own * `'ready' | 'error' | 'close'` events.
src/classes/redis-queue-backend.ts:280
↓ 1 callers
Method
fromMetadata
* Creates a new context from a serialized version effectively * linking the new context to the parent context. * * @param activeContext - the
src/interfaces/telemetry.ts:178
↓ 1 callers
Method
getActiveJobCount
* Gets the number of jobs currently being tracked.
src/classes/lock-manager.ts:176
↓ 1 callers
Method
getBlockTimeout
(self, block_until: int)
python/bullmq/worker.py:375
↓ 1 callers
Method
getBlockTimeout
(blockUntil: number)
src/classes/worker.ts:851
↓ 1 callers
Function
getBlockingRedisConnection
( target: RedisBackedTarget, )
tests/utils/get-redis-client.ts:67
↓ 1 callers
Function
getCallerFile
()
src/commands/script-loader.ts:620
↓ 1 callers
Method
getChildren
( childrenKeys: string[], depth: number, maxChildren: number, )
src/classes/flow-producer.ts:584
← previous
next →
901–1,000 of 3,768, ranked by callers