MCPcopy Create free account

hub / github.com/taskforcesh/bullmq / functions

Functions3,768 in github.com/taskforcesh/bullmq

MethodaddFlow
(self, entries: list[dict])
python/bullmq/backends/postgres_backend.py:381
MethodaddFlow
( entries: { jobData: JobJson; jobId: string; parentKeyOpts: ParentKeyOpts; prefix
src/postgres/postgres-queue-backend.ts:669
MethodaddFlow
* Atomically inserts a whole flow (tree) of jobs that may span multiple * queues, returning one `[error, idOrCode]` tuple per entry in the same
src/classes/redis-queue-backend.ts:746
MethodaddJob
Add an item to the queue
python/bullmq/scripts.py:107
MethodaddJob
Add a single job, routing it to the correct initial state. Returns the job id.
python/bullmq/backend.py:119
MethodaddJob
(self, job: "Job")
python/bullmq/backends/redis_backend.py:171
MethodaddJob
(self, job: "Job")
python/bullmq/backends/postgres_backend.py:333
MethodaddJob
* Add a job to the queue. * * @param Job $job * @return string The job ID */
php/src/Scripts.php:213
MethodaddJob
( job: JobJson, jobId: string, parentKeyOpts: ParentKeyOpts = {}, )
src/postgres/postgres-queue-backend.ts:562
MethodaddJob
* Adds the job to Redis. * * @param client - The Redis client to use for adding the job. * @param parentOpts - Options for the parent-child r
src/classes/job.ts:1257
MethodaddJob
( job: JobJson, jobId: string, parentKeyOpts: ParentKeyOpts = {}, )
src/classes/redis-queue-backend.ts:694
MethodaddJobLog
* Logs one row of job's log data. * * @param jobId - The job id to log against. * @param logRow - String with log data to be logged. * @pa
src/classes/queue.ts:731
MethodaddJobScheduler
Register or override a job scheduler and queue its next iteration. Returns a `[jobId, delay]` pair. Raises if the script returns a
python/bullmq/scripts.py:396
MethodaddJobScheduler
Register/override a scheduler and enqueue its next iteration. Returns a ``(job_id, delay)`` pair for the newly-scheduled iteration, o
python/bullmq/backend.py:367
MethodaddJobScheduler
( self, job_scheduler_id: str, next_millis: Optional[int], template_data: str,
python/bullmq/backends/redis_backend.py:439
MethodaddJobScheduler
( self, job_scheduler_id: str, next_millis: Optional[int], template_data: str,
python/bullmq/backends/postgres_backend.py:831
MethodaddJobScheduler
( jobSchedulerId: string, nextMillis: number, templateData: string, templateOpts: JobsOptions,
src/postgres/postgres-queue-backend.ts:710
MethodaddJobScheduler
* Registers a job scheduler and enqueues its next delayed iteration. * The scheduler stores the template data/options so subsequent iterations *
src/classes/redis-queue-backend.ts:866
MethodaddJobs
Add many jobs in a single efficient operation. Returns the ids, in order.
python/bullmq/backend.py:126
MethodaddJobs
(self, jobs: list["Job"])
python/bullmq/backends/redis_backend.py:174
MethodaddJobs
(self, jobs: list["Job"])
python/bullmq/backends/postgres_backend.py:366
MethodaddJobs
( entries: { job: JobJson; jobId: string; parentKeyOpts?: ParentKeyOpts; }[], )
src/postgres/postgres-queue-backend.ts:602
MethodaddJobs
( entries: { job: JobJson; jobId: string; parentKeyOpts?: ParentKeyOpts; }[], )
src/classes/redis-queue-backend.ts:703
MethodaddLog
Append a row to a job's log, optionally trimming old entries.
python/bullmq/backend.py:284
MethodaddLog
(self, job_id: str, log_row: str, keep_logs: int = 0)
python/bullmq/backends/redis_backend.py:327
MethodaddLog
(self, job_id: str, log_row: str, keep_logs: int = 0)
python/bullmq/backends/postgres_backend.py:637
MethodaddLog
( jobId: string, logRow: string, keepLogs?: number, )
src/postgres/postgres-queue-backend.ts:1242
MethodaddLog
( jobId: string, logRow: string, keepLogs?: number, )
src/classes/redis-queue-backend.ts:1100
MethodaddNodes
Queue every root node in `nodes` onto `entries`. Kept for backward compatibility with callers that don't need per-tree result
python/bullmq/flow_producer.py:146
Methodadd_bulk_with_opts
Atomically add multiple flows, applying per-queue default job options. This mirrors [`FlowProducer::add_with_opts`], but for bulk adds.
rust/src/flow_producer.rs:407
Methodadd_child
Append a child job that must complete before this job is processed.
rust/src/flow_producer.rs:79
Methodalways_fails
()
python/tests/worker_disconnect_test.py:347
Methodapply_pipeline_results
Walk the freshly added job tree in the same pre-order the pipeline commands were queued (each node's command precedes its children's), validating the
rust/src/flow_producer.rs:1056
Functionapply_pipeline_results_errors_on_negative_child_code
()
rust/src/flow_producer.rs:1252
Functionapply_pipeline_results_errors_on_negative_root_code
()
rust/src/flow_producer.rs:1288
Functionapply_pipeline_results_tolerates_deduplicated_child
()
rust/src/flow_producer.rs:1267
Functionapply_pipeline_results_updates_only_root_id
()
rust/src/flow_producer.rs:1228
MethodasJSONSandbox
* Prepares a job to be passed to Sandbox. * @returns
src/classes/job.ts:518
MethodasyncSetUp
(self)
python/tests/worker_disconnect_test.py:305
MethodasyncSetUp
(self)
python/tests/worker_disconnect_test.py:386
MethodasyncTearDown
(self)
python/tests/queue_test.py:26
MethodasyncTearDown
(self)
python/tests/bulk_test.py:24
MethodasyncTearDown
(self)
python/tests/job_scheduler_test.py:27
MethodasyncTearDown
(self)
python/tests/deduplication_test.py:24
MethodasyncTearDown
(self)
python/tests/flow_test.py:26
MethodasyncTearDown
(self)
python/tests/job_test.py:23
MethodasyncTearDown
(self)
python/tests/queue_events_test.py:21
MethodasyncTearDown
(self)
python/tests/global_rate_limit_concurrency_test.py:22
MethodasyncTearDown
(self)
python/tests/global_rate_limit_concurrency_test.py:50
MethodasyncTearDown
(self)
python/tests/delay_test.py:25
MethodasyncTearDown
(self)
python/tests/lock_manager_test.py:33
MethodasyncTearDown
(self)
python/tests/job_cancellation_test.py:74
MethodasyncTearDown
(self)
python/tests/worker_disconnect_test.py:308
MethodasyncTearDown
(self)
python/tests/worker_disconnect_test.py:389
MethodasyncTearDown
(self)
python/tests/priority_test.py:25
MethodasyncTearDown
(self)
python/tests/worker_test.py:28
Methodattempts
Total number of attempts before the job permanently fails.
rust/src/queue.rs:2730
Methodattempts
Total number of attempts before the job permanently fails.
rust/src/options.rs:710
Methodautorun
Set whether processing starts automatically (defaults to `true`).
rust/src/options.rs:497
Methodbackoff
Backoff strategy applied between retries.
rust/src/queue.rs:2736
Methodbackoff
Backoff strategy applied between retries.
rust/src/options.rs:716
Methodbackoff_strategy
(attempts_made, type, err, job)
python/tests/worker_test.py:391
Methodbackoff_strategy
Set a custom backoff-strategy function used to compute retry delays.
rust/src/options.rs:569
Methodbase64Name
()
src/classes/queue-base.ts:135
Functionbase64_standard
Encode bytes as standard (RFC 4648) base64 with padding. Mirrors Node.js `Buffer.from(s).toString('base64')`, which BullMQ uses to build Redis client
rust/src/keys.rs:212
Methodbclient
The raw dedicated blocking Redis client (falls back to the main one).
python/bullmq/backends/redis_backend.py:82
MethodblockingClient
()
src/classes/redis-queue-backend.ts:171
Functionbuild_client_with_client_cert_without_key_errors
()
rust/src/redis_connection.rs:233
Functionbuild_client_with_client_key_without_cert_errors
()
rust/src/redis_connection.rs:246
Functionbuild_client_with_root_cert_only_succeeds
()
rust/src/redis_connection.rs:224
Functionbuild_client_without_tls_certs_succeeds
()
rust/src/redis_connection.rs:218
Methodbzpopmin
Execute a blocking BZPOPMIN command.
rust/src/redis_connection.rs:174
Methodbzpopmin
( key: string, timeout: number, )
src/classes/node-redis-client.ts:750
Methodbzpopmin
( key: string, timeout: number, )
src/classes/bun-redis-client.ts:1044
Methodbzpopmin
( key: string, timeout: number, )
src/classes/valkey-glide-client.ts:928
Methodcalculate_backoff
Calculate backoff delay for a retry attempt. Returns delay in ms, or -1 if custom backoff says don't retry.
rust/src/worker.rs:2071
MethodcancelAllJobs
* Cancels all tracked jobs by aborting their signals. * @param reason - Optional reason for the cancellation
src/classes/lock-manager.ts:206
MethodcancelJob
* Cancels a specific job by aborting its signal. * @param jobId - The ID of the job to cancel * @param reason - Optional reason for the cancella
src/classes/lock-manager.ts:193
Methodcancel_job
Cancel a specific active job.
rust/src/worker.rs:731
Methodcancelled
Wait until cancellation is requested.
rust/src/worker.rs:87
Methodcapabilities
Datastore capability flags (e.g. ``canBlockFor1Ms``, ``canDoubleTimeout``).
python/bullmq/backend.py:89
Methodcapabilities
(self)
python/bullmq/backends/redis_backend.py:144
Methodcapabilities
(self)
python/bullmq/backends/postgres_backend.py:276
MethodchangeDelay
(jobId: string, delay: number)
src/postgres/postgres-queue-backend.ts:1275
MethodchangeDelay
* Change delay of a delayed job. * * Reschedules a delayed job by setting a new delay from the current time. * For example, calling changeDel
src/classes/job.ts:973
MethodchangeDelay
* Change delay of a delayed job. * * Reschedules a delayed job by setting a new delay from the current time. * For example, calling changeDel
src/classes/redis-queue-backend.ts:1523
MethodchangePriority
(self, job_id: str, priority:int = 0, lifo:bool = False)
python/bullmq/scripts.py:555
MethodchangePriority
(self, opts: dict)
python/bullmq/job.py:139
MethodchangePriority
Change the priority (and optionally lifo) of a waiting job.
python/bullmq/backend.py:278
MethodchangePriority
( self, job_id: str, priority: int = 0, lifo: bool = False )
python/bullmq/backends/redis_backend.py:322
MethodchangePriority
(self, job_id: str, priority: int = 0, lifo: bool = False)
python/bullmq/backends/postgres_backend.py:633
MethodchangePriority
( jobId: string, priority = 0, lifo = false, )
src/postgres/postgres-queue-backend.ts:1293
MethodchangePriority
* Change job priority. * * @param opts - options containing priority and lifo values. * @returns void
src/classes/job.ts:984
MethodchangePriority
( jobId: string, priority = 0, lifo = false, )
src/classes/redis-queue-backend.ts:1556
Methodcheck_add_result
Check the result of an add command for error codes. The addJob Lua script returns `-5` when a referenced parent key is missing. In that case the job
rust/src/flow_producer.rs:1088
Methodcheck_stalled_jobs
( conn: &RedisConnection, keys: &QueueKeys, max_stalled_count: u32, stalled_in
rust/src/worker.rs:2328
Methodchildren
Replace the child jobs.
rust/src/flow_producer.rs:85
Methodchildren_process
(job: Job, token: str)
python/tests/worker_test.py:469
Methodclean
Cleans jobs from a queue. Similar to drain but keeps jobs within a certain grace period * @returns: Id jobs from the
python/bullmq/queue.py:381
Methodclean
()
src/classes/child-pool.ts:114
← previousnext →1,801–1,900 of 3,768, ranked by callers