We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1a57f commit ad3b8f4Copy full SHA for ad3b8f4
src/content/docs/workers/runtime-apis/bindings/service-bindings/index.mdx
@@ -61,6 +61,9 @@ main = "./src/workerB.js"
61
import { WorkerEntrypoint } from "cloudflare:workers";
62
63
export class WorkerB extends WorkerEntrypoint {
64
+ // Currently, entrypoints without a named handler are not supported
65
+ async fetch() { return new Response(null, {status: 404}); }
66
+
67
async add(a, b) { return a + b; }
68
}
69
```
0 commit comments