HTML text or Handlebars template. If template is provided, then it will be evaluated with htmlData
to produce html content.
HTML data for Handlebars template.
Default HTML Email template will be used if no value is provided, and the body section will be replaced with htmlBody
content.
If you do not wish to use wrapper template then use none
value for template
.
Options to target outcomes for retrieval or deletion.
Generated using TypeDoc
Safely using a mutex by always releasing
// Ensure you import LockPowers import { LockPowers } from "@andi/powers"; const mutex = await LockPowers.createMutex("my-lock"); try { // may throw `LockAcquireTimeoutError`. To avoid errors, can also use `.tryAcquire()` await mutex.acquire(); // critical code } finally { await mutex.release(); }