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
↓ 4 callers
Function
_row_to_job_map
Map a ``job`` row into the Redis-hash-shaped dict ``Job.fromJSON`` consumes (JSON-string values for the object fields, string values for the r
python/bullmq/backends/postgres_backend.py:119
↓ 4 callers
Method
_setupCallbacks
* Wire up Bun's callback-style events into EventEmitter and auto-reconnect.
src/classes/bun-redis-client.ts:219
↓ 4 callers
Function
_transform_scheduler_data
Mirror `JobScheduler.transformSchedulerData` from the Node port. If the per-id hash exists, produce the rich record. Otherwise, fall back to
python/bullmq/job_scheduler.py:346
↓ 4 callers
Method
addBulk
Adds an array of jobs to the queue. This method may be faster than adding one job at a time in a sequence
python/bullmq/queue.py:55
↓ 4 callers
Method
addFlow
* Atomically inserts a flow (tree) of jobs that may span multiple queues, * returning one `[error, idOrCode]` tuple per entry, in the same order th
src/interfaces/queue-backend.ts:243
↓ 4 callers
Method
addJobArgs
(self, job: Job)
python/bullmq/scripts.py:65
↓ 4 callers
Method
addJobScheduler
* Registers a job scheduler and enqueues its next delayed iteration. * * Two job-option bags are involved, with deliberately different roles:
src/interfaces/queue-backend.ts:265
↓ 4 callers
Method
addJobToTransaction
* Low-level Redis adapter helper: queues/executes a single job insert on the * provided client or transaction (pipeline/multi). This is the only pl
src/classes/redis-queue-backend.ts:639
↓ 4 callers
Function
array2obj
(arr: string[])
src/utils/index.ts:62
↓ 4 callers
Function
callback
()
src/utils/index.ts:91
↓ 4 callers
Method
changePriority
* Changes the priority (and optionally lifo) of a waiting job.
src/interfaces/queue-backend.ts:478
↓ 4 callers
Method
close
Close the worker gracefully. Waits for active jobs to complete (up to `timeout` milliseconds).
rust/src/worker.rs:752
↓ 4 callers
Method
close
Close the queue connection.
rust/src/queue.rs:2678
↓ 4 callers
Function
connection_opts
()
rust/examples/benchmark.rs:19
↓ 4 callers
Method
drain
Drains the queue, removes all jobs that are waiting or delayed, but not active, completed or failed. @param delayed:
python/bullmq/queue.py:295
↓ 4 callers
Method
ensureRaw
()
src/classes/valkey-glide-client.ts:399
↓ 4 callers
Method
ensure_job_channel
Return the LISTEN connection after subscribing to ``bullmq_jobs`` once.
python/bullmq/backends/postgres_connection.py:253
↓ 4 callers
Method
exec
Execute all queued commands.
src/interfaces/redis-client.ts:282
↓ 4 callers
Method
extendLock
* Extends the lock of a single active job.
src/interfaces/queue-backend.ts:430
↓ 4 callers
Method
extendLocks
* Extends the lock of several active jobs at once. * @returns The ids of the jobs whose lock could not be extended.
src/interfaces/queue-backend.ts:436
↓ 4 callers
Method
failed
(&self)
rust/src/keys.rs:116
↓ 4 callers
Method
fromJSON
Instantiates a Job from a JobJsonRaw object (coming from a deserialized JSON object) @param queue: the queue where the job belongs t
python/bullmq/job.py:305
↓ 4 callers
Method
getChildrenValues
* Get this jobs children result values if any. * * @returns Object mapping children job keys with their values.
src/classes/job.ts:997
↓ 4 callers
Method
getFailedCount
(self)
python/bullmq/queue.py:401
↓ 4 callers
Method
getJobData
* Returns the stored data for a job, or `undefined` if it is missing.
src/interfaces/queue-backend.ts:587
↓ 4 callers
Method
getJobScheduler
(id: string)
src/interfaces/queue-backend.ts:530
↓ 4 callers
Method
getJobSchedulers
* Get all Job Schedulers * * @param start - Offset of first scheduler to return. * @param end - Offset of last scheduler to return. * @par
src/classes/queue.ts:580
↓ 4 callers
Method
getJobSchedulersCount
* Returns the number of registered job schedulers.
src/interfaces/queue-backend.ts:555
↓ 4 callers
Method
getJobs
* Get jobs by their IDs. * * @param array<string> $jobIds The job IDs * @return array<Job> Array of jobs (excluding not found jobs)
php/src/Queue.php:296
↓ 4 callers
Method
getListenClient
* Returns the dedicated client used for `LISTEN`/`NOTIFY`, establishing it on * first use. * * When this connection owns the pool we use a *s
src/postgres/postgres-connection.ts:314
↓ 4 callers
Method
getQueueQualifiedName
(self, name: str)
python/bullmq/queue_keys.py:21
↓ 4 callers
Method
getWorkers
* Get the worker list related to the queue. i.e. all the known * workers that are available to process jobs for this queue. * Note: GCP does not
src/classes/queue-getters.ts:577
↓ 4 callers
Method
get_completed_count
Return the number of jobs in the `completed` state.
rust/src/queue.rs:1218
↓ 4 callers
Method
get_job_schedulers
Get a paginated list of job schedulers. Returns schedulers ordered by next execution time.
rust/src/queue.rs:2529
↓ 4 callers
Method
get_metrics
Return the time-series metrics for the queue. `metric_type` must be `"completed"` or `"failed"`. Metrics are recorded per minute by workers configure
rust/src/queue.rs:1417
↓ 4 callers
Method
get_workers
Get the worker list related to the queue. i.e. all the known workers that are available to process jobs for this queue. Note:
python/bullmq/queue.py:189
↓ 4 callers
Method
get_workers
Return the list of workers currently connected to this queue. Workers register themselves via `CLIENT SETNAME` on their blocking connection; this met
rust/src/queue.rs:1262
↓ 4 callers
Method
hmget
(key: string, ...fields: string[])
src/interfaces/redis-client.ts:101
↓ 4 callers
Method
id
The worker's unique ID.
rust/src/worker.rs:651
↓ 4 callers
Function
increaseMaxListeners
( emitter: { getMaxListeners(): number; setMaxListeners(n: number): any }, count: number, )
src/utils/index.ts:122
↓ 4 callers
Method
isInZSet
(self, set: str)
python/bullmq/job.py:185
↓ 4 callers
Function
isRedisCluster
( obj: unknown, )
src/utils/index.ts:168
↓ 4 callers
Method
kill
(_signal?: string)
tests/child_stdio_null.test.ts:65
↓ 4 callers
Method
listen_connection
The dedicated autocommit connection used for LISTEN/NOTIFY waits.
python/bullmq/backends/postgres_connection.py:231
↓ 4 callers
Function
loadCommandSql
(name: string)
src/postgres/sql-loader.ts:62
↓ 4 callers
Method
moveToActive
* Atomically moves the next eligible job from wait/prioritized to active, * returning its data (or the delay/rate-limit signals when none is ready)
src/interfaces/queue-backend.ts:283
↓ 4 callers
Method
moveToFinished
(self, job_id: str, keys, args)
python/bullmq/scripts.py:792
↓ 4 callers
Method
multi
()
src/classes/node-redis-client.ts:89
↓ 4 callers
Method
nextJobFromJobData
( jobData?: JobJson, jobId?: string, token?: string, )
src/classes/worker.ts:903
↓ 4 callers
Function
normalizeStringCollection
(reply: any)
src/classes/bun-redis-client.ts:59
↓ 4 callers
Method
on
(event: U, listener: QEL[U])
src/classes/queue-events.ts:314
↓ 4 callers
Method
rateLimit
* Overrides the rate limit to be active for the next jobs. * * @param expireTimeMs - expire time in ms of this rate limit.
src/classes/queue.ts:518
↓ 4 callers
Method
rate_limit
Override the rate limit to be active for the next jobs. Sets the rate limiter key to MAX value with the given TTL, preventing any new jobs from being
rust/src/queue.rs:1939
↓ 4 callers
Method
reconnect
()
src/classes/redis-connection.ts:728
↓ 4 callers
Method
remove_global_concurrency
Remove global concurrency limit from queue meta.
rust/src/queue.rs:1984
↓ 4 callers
Function
resolve_parent_queue_key
Resolve `ParentOptions.queue` into a qualified queue key. Accepts either an unqualified queue name (`queue`) or a pre-qualified key using the current
rust/src/keys.rs:31
↓ 4 callers
Method
retain
(processFile: string)
src/classes/child-pool.ts:40
↓ 4 callers
Method
retry
Attempts to retry the job. Only a job that has failed or completed can be retried. Args: state: The state of the job to
python/bullmq/job.py:107
↓ 4 callers
Method
retryIfFailed
Retry a coroutine function if it fails, with delay and max retries. :param fn: Coroutine function to execute. :param opts: Di
python/bullmq/worker.py:450
↓ 4 callers
Method
retryJobs
Retry all the failed or completed jobs.
python/bullmq/queue.py:304
↓ 4 callers
Method
runCommand
* Execute a previously registered Lua script command by name. * * @param name - The command name passed to {@link defineCommand}. * @param ar
src/interfaces/redis-client.ts:86
↓ 4 callers
Method
sanitizeJobTypes
(self, types)
python/bullmq/queue.py:451
↓ 4 callers
Method
scan
( cursor: string, options?: Record<string, unknown>, )
src/classes/node-redis-client.ts:170
↓ 4 callers
Function
send
tests/fixtures/fixture_main_non_bullmq_messages.js:11
↓ 4 callers
Method
setQueueMeta
* Sets one or more queue metadata fields.
src/interfaces/queue-backend.ts:683
↓ 4 callers
Method
set_global_rate_limit
Set global rate limit (stored in queue meta hash).
rust/src/queue.rs:1998
↓ 4 callers
Method
start
* Starts the lock manager timers for lock renewal.
src/classes/lock-manager.ts:35
↓ 4 callers
Function
trace
( telemetry: | { tracer: Tracer; contextManager: ContextManager; } | undefined
src/utils/index.ts:402
↓ 4 callers
Function
tryCatch
( fn: (...args: any) => any, ctx: any, args: any[], )
src/utils/index.ts:30
↓ 4 callers
Method
updateDelays
(limitDelay = 0, delayUntil = 0)
src/classes/worker.ts:893
↓ 4 callers
Method
update_job_progress
Update a job's progress by id, without loading the job first. Mirrors Node.js `Queue.updateJobProgress`: runs the `updateProgress` script which sets
rust/src/queue.rs:2239
↓ 4 callers
Method
validateOptions
(jobData: JobJson)
src/classes/job.ts:1315
↓ 4 callers
Method
waitUntilReady
* * Waits until the worker is ready to start processing jobs. * In general only useful when writing tests. *
src/classes/worker.ts:509
↓ 4 callers
Function
wait_for_worker_event
Wait for the next worker event that matches the predicate, failing on timeout.
rust/tests/job_scheduler_test.rs:17
↓ 4 callers
Method
xtrim
* Trim a stream. * * @param key - Stream key * @param strategy - Trim strategy (e.g. `'MAXLEN'`) * @param threshold - Maximum strea
src/interfaces/redis-client.ts:191
↓ 4 callers
Method
zadd
(key: string, ...args: any[])
src/classes/bun-redis-client.ts:1163
↓ 3 callers
Method
DataJson
()
dotnet/src/BullMQ/Job.cs:295
↓ 3 callers
Method
FromJson
<summary>Rehydrates a job from its raw Redis representation.</summary>
dotnet/src/BullMQ/Job.cs:102
↓ 3 callers
Method
FromMap
<summary>Builds a <see cref="JobJson"/> from a flat key/value map.</summary>
dotnet/src/BullMQ/JobJson.cs:42
↓ 3 callers
Method
GetFailedCountAsync
<summary>Returns the number of failed jobs.</summary>
dotnet/src/BullMQ/Queue.cs:245
↓ 3 callers
Method
GetJobDataAsync
(string jobId)
dotnet/src/BullMQ/RedisBackend.cs:786
↓ 3 callers
Method
IsPausedAsync
<summary>Returns true if the queue is currently paused.</summary>
dotnet/src/BullMQ/Queue.cs:81
↓ 3 callers
Method
RemoveAsync
<summary>Removes this job (and optionally its children).</summary>
dotnet/src/BullMQ/Job.cs:184
↓ 3 callers
Method
UpsertJobSchedulerAsync
<summary> Creates or updates a job scheduler (repeatable job factory) and enqueues its next iteration. Returns the job for that iteration, or null. </
dotnet/src/BullMQ/Queue.cs:144
↓ 3 callers
Function
_build_offline_worker
Create a Worker whose Redis port is guaranteed to be closed. The Worker is instantiated with ``autorun=False`` so the run loop never starts;
python/tests/worker_disconnect_test.py:55
↓ 3 callers
Method
_duplicateRaw
* Create a fresh raw client aimed at the *same* Redis server as `src`. * * Bun's `RedisClient` exposes no public connection info (no `url`, host
src/classes/bun-redis-client.ts:524
↓ 3 callers
Method
_ensureRaw
* Return the raw client, materializing it first when this adapter is a * lazily-initialized duplicate (created via `duplicate()` with a * `rawFa
src/classes/bun-redis-client.ts:570
↓ 3 callers
Function
_json
(value: Any)
python/bullmq/backends/postgres_backend.py:94
↓ 3 callers
Method
_limiter
(self, opts: dict)
python/bullmq/backends/postgres_backend.py:393
↓ 3 callers
Method
_next_job_result
(self, rows_maps: list[dict], limiter_max, now: int)
python/bullmq/backends/postgres_backend.py:397
↓ 3 callers
Function
_to_millis
Coerce a date-ish input (epoch millis int/float or ISO 8601 string) into integer epoch milliseconds. Returns None for empty input.
python/bullmq/job_scheduler.py:41
↓ 3 callers
Method
addBulk
Add multiple flows atomically in a single MULTI/EXEC. Matches Node's lenient bulk semantics: per-root errors are not raised;
python/bullmq/flow_producer.py:189
↓ 3 callers
Method
addEvent
* addEvent adds an event to the span. * * @param name - event name * @param attributes - event attributes
src/interfaces/telemetry.ts:237
↓ 3 callers
Method
addLog
* Appends a row to a job's log, optionally trimming old entries. * @returns The total number of log entries.
src/interfaces/queue-backend.ts:463
↓ 3 callers
Method
addNode
Build the job for ``node`` (and, recursively, its children) and append it to the flat, pre-ordered ``entries`` list that is later ins
python/bullmq/flow_producer.py:93
↓ 3 callers
Method
addNode
* Add a node (job) of a flow to the queue. This method will recursively * add all its children as well. Note that a given job can potentially be
src/classes/flow-producer.ts:367
↓ 3 callers
Method
add_with_opts
Atomically add a flow, applying per-queue default job options. For every job whose `queue_name` is present in `opts.queues_options`, the correspondin
rust/src/flow_producer.rs:295
↓ 3 callers
Method
asJSON
* Prepares a job to be serialized for storage in Redis. * @returns
src/classes/job.ts:491
↓ 3 callers
Method
asJSON
* Prepares a job to be serialized for storage in Redis. * @returns
src/interfaces/minimal-job.ts:133
↓ 3 callers
Function
bigintOrUndefined
Parses a nullable `bigint`-as-string column into a number, or `undefined`.
src/postgres/postgres-queue-backend.ts:69
← previous
next →
301–400 of 3,768, ranked by callers