MCPcopy Create free account

hub / github.com/taskforcesh/bullmq / functions

Functions3,768 in github.com/taskforcesh/bullmq

↓ 4 callersFunction_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 callersMethod_setupCallbacks
* Wire up Bun's callback-style events into EventEmitter and auto-reconnect.
src/classes/bun-redis-client.ts:219
↓ 4 callersFunction_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 callersMethodaddBulk
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 callersMethodaddFlow
* 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 callersMethodaddJobArgs
(self, job: Job)
python/bullmq/scripts.py:65
↓ 4 callersMethodaddJobScheduler
* 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 callersMethodaddJobToTransaction
* 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 callersFunctionarray2obj
(arr: string[])
src/utils/index.ts:62
↓ 4 callersFunctioncallback
()
src/utils/index.ts:91
↓ 4 callersMethodchangePriority
* Changes the priority (and optionally lifo) of a waiting job.
src/interfaces/queue-backend.ts:478
↓ 4 callersMethodclose
Close the worker gracefully. Waits for active jobs to complete (up to `timeout` milliseconds).
rust/src/worker.rs:752
↓ 4 callersMethodclose
Close the queue connection.
rust/src/queue.rs:2678
↓ 4 callersFunctionconnection_opts
()
rust/examples/benchmark.rs:19
↓ 4 callersMethoddrain
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 callersMethodensureRaw
()
src/classes/valkey-glide-client.ts:399
↓ 4 callersMethodensure_job_channel
Return the LISTEN connection after subscribing to ``bullmq_jobs`` once.
python/bullmq/backends/postgres_connection.py:253
↓ 4 callersMethodexec
Execute all queued commands.
src/interfaces/redis-client.ts:282
↓ 4 callersMethodextendLock
* Extends the lock of a single active job.
src/interfaces/queue-backend.ts:430
↓ 4 callersMethodextendLocks
* 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 callersMethodfailed
(&self)
rust/src/keys.rs:116
↓ 4 callersMethodfromJSON
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 callersMethodgetChildrenValues
* Get this jobs children result values if any. * * @returns Object mapping children job keys with their values.
src/classes/job.ts:997
↓ 4 callersMethodgetFailedCount
(self)
python/bullmq/queue.py:401
↓ 4 callersMethodgetJobData
* Returns the stored data for a job, or `undefined` if it is missing.
src/interfaces/queue-backend.ts:587
↓ 4 callersMethodgetJobScheduler
(id: string)
src/interfaces/queue-backend.ts:530
↓ 4 callersMethodgetJobSchedulers
* 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 callersMethodgetJobSchedulersCount
* Returns the number of registered job schedulers.
src/interfaces/queue-backend.ts:555
↓ 4 callersMethodgetJobs
* 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 callersMethodgetListenClient
* 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 callersMethodgetQueueQualifiedName
(self, name: str)
python/bullmq/queue_keys.py:21
↓ 4 callersMethodgetWorkers
* 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 callersMethodget_completed_count
Return the number of jobs in the `completed` state.
rust/src/queue.rs:1218
↓ 4 callersMethodget_job_schedulers
Get a paginated list of job schedulers. Returns schedulers ordered by next execution time.
rust/src/queue.rs:2529
↓ 4 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodhmget
(key: string, ...fields: string[])
src/interfaces/redis-client.ts:101
↓ 4 callersMethodid
The worker's unique ID.
rust/src/worker.rs:651
↓ 4 callersFunctionincreaseMaxListeners
( emitter: { getMaxListeners(): number; setMaxListeners(n: number): any }, count: number, )
src/utils/index.ts:122
↓ 4 callersMethodisInZSet
(self, set: str)
python/bullmq/job.py:185
↓ 4 callersFunctionisRedisCluster
( obj: unknown, )
src/utils/index.ts:168
↓ 4 callersMethodkill
(_signal?: string)
tests/child_stdio_null.test.ts:65
↓ 4 callersMethodlisten_connection
The dedicated autocommit connection used for LISTEN/NOTIFY waits.
python/bullmq/backends/postgres_connection.py:231
↓ 4 callersFunctionloadCommandSql
(name: string)
src/postgres/sql-loader.ts:62
↓ 4 callersMethodmoveToActive
* 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 callersMethodmoveToFinished
(self, job_id: str, keys, args)
python/bullmq/scripts.py:792
↓ 4 callersMethodmulti
()
src/classes/node-redis-client.ts:89
↓ 4 callersMethodnextJobFromJobData
( jobData?: JobJson, jobId?: string, token?: string, )
src/classes/worker.ts:903
↓ 4 callersFunctionnormalizeStringCollection
(reply: any)
src/classes/bun-redis-client.ts:59
↓ 4 callersMethodon
(event: U, listener: QEL[U])
src/classes/queue-events.ts:314
↓ 4 callersMethodrateLimit
* 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 callersMethodrate_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 callersMethodreconnect
()
src/classes/redis-connection.ts:728
↓ 4 callersMethodremove_global_concurrency
Remove global concurrency limit from queue meta.
rust/src/queue.rs:1984
↓ 4 callersFunctionresolve_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 callersMethodretain
(processFile: string)
src/classes/child-pool.ts:40
↓ 4 callersMethodretry
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 callersMethodretryIfFailed
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 callersMethodretryJobs
Retry all the failed or completed jobs.
python/bullmq/queue.py:304
↓ 4 callersMethodrunCommand
* 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 callersMethodsanitizeJobTypes
(self, types)
python/bullmq/queue.py:451
↓ 4 callersMethodscan
( cursor: string, options?: Record<string, unknown>, )
src/classes/node-redis-client.ts:170
↓ 4 callersFunctionsend
tests/fixtures/fixture_main_non_bullmq_messages.js:11
↓ 4 callersMethodsetQueueMeta
* Sets one or more queue metadata fields.
src/interfaces/queue-backend.ts:683
↓ 4 callersMethodset_global_rate_limit
Set global rate limit (stored in queue meta hash).
rust/src/queue.rs:1998
↓ 4 callersMethodstart
* Starts the lock manager timers for lock renewal.
src/classes/lock-manager.ts:35
↓ 4 callersFunctiontrace
( telemetry: | { tracer: Tracer; contextManager: ContextManager; } | undefined
src/utils/index.ts:402
↓ 4 callersFunctiontryCatch
( fn: (...args: any) => any, ctx: any, args: any[], )
src/utils/index.ts:30
↓ 4 callersMethodupdateDelays
(limitDelay = 0, delayUntil = 0)
src/classes/worker.ts:893
↓ 4 callersMethodupdate_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 callersMethodvalidateOptions
(jobData: JobJson)
src/classes/job.ts:1315
↓ 4 callersMethodwaitUntilReady
* * Waits until the worker is ready to start processing jobs. * In general only useful when writing tests. *
src/classes/worker.ts:509
↓ 4 callersFunctionwait_for_worker_event
Wait for the next worker event that matches the predicate, failing on timeout.
rust/tests/job_scheduler_test.rs:17
↓ 4 callersMethodxtrim
* 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 callersMethodzadd
(key: string, ...args: any[])
src/classes/bun-redis-client.ts:1163
↓ 3 callersMethodDataJson
()
dotnet/src/BullMQ/Job.cs:295
↓ 3 callersMethodFromJson
<summary>Rehydrates a job from its raw Redis representation.</summary>
dotnet/src/BullMQ/Job.cs:102
↓ 3 callersMethodFromMap
<summary>Builds a <see cref="JobJson"/> from a flat key/value map.</summary>
dotnet/src/BullMQ/JobJson.cs:42
↓ 3 callersMethodGetFailedCountAsync
<summary>Returns the number of failed jobs.</summary>
dotnet/src/BullMQ/Queue.cs:245
↓ 3 callersMethodGetJobDataAsync
(string jobId)
dotnet/src/BullMQ/RedisBackend.cs:786
↓ 3 callersMethodIsPausedAsync
<summary>Returns true if the queue is currently paused.</summary>
dotnet/src/BullMQ/Queue.cs:81
↓ 3 callersMethodRemoveAsync
<summary>Removes this job (and optionally its children).</summary>
dotnet/src/BullMQ/Job.cs:184
↓ 3 callersMethodUpsertJobSchedulerAsync
<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 callersFunction_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 callersMethod_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 callersMethod_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 callersFunction_json
(value: Any)
python/bullmq/backends/postgres_backend.py:94
↓ 3 callersMethod_limiter
(self, opts: dict)
python/bullmq/backends/postgres_backend.py:393
↓ 3 callersMethod_next_job_result
(self, rows_maps: list[dict], limiter_max, now: int)
python/bullmq/backends/postgres_backend.py:397
↓ 3 callersFunction_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 callersMethodaddBulk
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 callersMethodaddEvent
* addEvent adds an event to the span. * * @param name - event name * @param attributes - event attributes
src/interfaces/telemetry.ts:237
↓ 3 callersMethodaddLog
* 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 callersMethodaddNode
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 callersMethodaddNode
* 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 callersMethodadd_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 callersMethodasJSON
* Prepares a job to be serialized for storage in Redis. * @returns
src/classes/job.ts:491
↓ 3 callersMethodasJSON
* Prepares a job to be serialized for storage in Redis. * @returns
src/interfaces/minimal-job.ts:133
↓ 3 callersFunctionbigintOrUndefined
Parses a nullable `bigint`-as-string column into a number, or `undefined`.
src/postgres/postgres-queue-backend.ts:69
← previousnext →301–400 of 3,768, ranked by callers