File tree Expand file tree Collapse file tree 4 files changed +0
-12
lines changed
src/content/docs/workflows Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ name = "workflows-tutorial"
4343# be how you call (run) your Workflow from your other Workers handlers or
4444# scripts.
4545binding = " MY_WORKFLOW"
46- # script_name is required during for the beta.
47- # Must match the "name" of your Worker at the top of wrangler.toml
48- script_name = " workflows-tutorial"
4946# Must match the class defined in your code that extends the Workflow class
5047class_name = " MyWorkflow"
5148```
Original file line number Diff line number Diff line change @@ -120,9 +120,6 @@ name = "workflows-starter"
120120binding = " MY_WORKFLOW"
121121# this is class that extends the Workflow class in src/index.ts
122122class_name = " MyWorkflow"
123- # script_name is required during for the beta.
124- # Must match the "name" of your Worker at the top of wrangler.toml
125- script_name = " workflows-starter"
126123```
127124
128125## Workflow
Original file line number Diff line number Diff line change @@ -180,9 +180,6 @@ name = "workflows-starter"
180180binding = " MY_WORKFLOW"
181181# this is class that extends the Workflow class in src/index.ts
182182class_name = " MyWorkflow"
183- # script_name is required during for the beta.
184- # Must match the "name" of your Worker at the top of wrangler.toml
185- script_name = " workflows-starter"
186183```
187184
188185You can then invoke the methods on this binding directly from your Worker script's ` env ` parameter. The ` Workflow ` type has methods for:
Original file line number Diff line number Diff line change @@ -198,9 +198,6 @@ name = "workflows-starter"
198198binding = " MY_WORKFLOW"
199199# this is class that extends the Workflow class in src/index.ts
200200class_name = " MyWorkflow"
201- # script_name is required during the beta.
202- # Must match the "name" of your Worker at the top of wrangler.toml
203- script_name = " workflows-starter"
204201```
205202
206203:::note
You can’t perform that action at this time.
0 commit comments