feat: ghetto durable compute

This commit is contained in:
Mythie
2024-05-16 15:44:39 +10:00
parent 61827ad729
commit 991f808890
20 changed files with 847 additions and 151 deletions

View File

@ -64,7 +64,7 @@ export class TriggerJobProvider extends BaseJobProvider {
return {
wait: io.wait,
logger: io.logger,
stableRun: async (cacheKey, callback) => io.runTask(cacheKey, callback),
runTask: async (cacheKey, callback) => io.runTask(cacheKey, callback),
triggerJob: async (cacheKey, payload) =>
io.sendEvent(cacheKey, {
...payload,