WJb Docs - Reference

Browse APIs, configuration options, interfaces, and implementation details.

⚡ Actions
🔀 Workflow
📦 Jobs
⚙️ Runtime
💾 Persistence
🗄 Storage
🧩 Workflow Metadata
🛠 Extensions & Helpers

IWorkNotifier

Provides notifications when work becomes available.

IWorkNotifier allows runtime components to signal workers that new jobs are ready for processing.

Purpose

Use IWorkNotifier to reduce unnecessary polling and improve responsiveness.

New Job
   ↓
IWorkNotifier
   ↓
Worker
   ↓
Execution

Responsibilities

  • Signaling work availability
  • Coordinating workers
  • Reducing idle waiting
  • Improving job pickup latency

Runtime Flow

Enqueue Job
      ↓
IWorkNotifier
      ↓
Worker Wake-up
      ↓
Execution

Relationship to Workers

Workers listen for work notifications.

IWorkNotifier
      ↓
 CronWorker
 WasmWorker

Best Practices

Use for Runtime Coordination

IWorkNotifier is infrastructure functionality and is typically not used directly by business logic.

Keep Notifications Lightweight

Notifications should signal work availability rather than carry business data.

Related Types

  • CronWorker
  • WasmWorker
  • WasmWorkerPool
  • IWJb

See Also

  • CronWorker
  • WasmWorker
  • WasmWorkerPool
  • IWJb
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.