apairon 3ef0d86290
continuous-integration/drone/push Build is passing
✨ types(hooks): …Async-Zwillinge, context.after/enqueue, TaskConfig
- `http.fetchAsync`, `http.fetchStreamAsync`, `fs.readFileAsync`,
  `fs.writeFileAsync`, `smtp.sendMailAsync`, `exec.commandAsync`,
  `image.filterAsync`, `pdf.fromHTMLAsync`, `pdf.cpuAsync` — gespiegelte
  Signaturen der jeweiligen sync-Methode (ein Go-Kern, zwei Registrierungen).
- `HookContext.after(fn)` und `HookContext.enqueue(task, data?)`, inklusive
  Semantik in den Doc-Kommentaren (nach der Antwort, 2 s; durable, Name wird
  geprüft, Payload ≤ 64 KB).
- `TaskConfig` (Spiegel von task.schema.json) und `HookContext.task`; im
  Task-Skript ist der Payload die globale Variable `data`.
2026-11-14 13:38:40 +00:00
2022-01-24 16:19:52 +01:00
2022-02-01 18:59:17 +01:00
S
Description
WMBasic API Javascript Hook Types
1.3 MiB
0 Stars 5 Watchers 0 Forks
Languages
HTML 63%
JavaScript 20.3%
TypeScript 16.7%