mirror of
https://github.com/nesterow/offload.git
synced 2024-11-14 14:14:03 +00:00
7 lines
164 B
TypeScript
7 lines
164 B
TypeScript
import { handler } from "../mod.ts";
|
|
|
|
handler(async () => {
|
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
throw new Error("This is an error");
|
|
});
|