Skip to content

basalt / queue/src / UnsupportedPolicy

Type Alias: UnsupportedPolicy ​

> UnsupportedPolicy = "throw" | "warn" | "ignore"

Defined in: queue/src/manager.ts:115

What to do when a dispatch uses an option the driver can't honor:

  • throw: raise UnsupportedJobOptionError (strict; recommended in prod)
  • warn: log once per job+feature and proceed (default — never silent)
  • ignore: proceed silently (legacy behavior)

Released under the MIT License.