You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workflows/get-started/guide.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,9 +129,9 @@ When trying to decide whether to break code up into more than one step, a good r
129
129
130
130
For example, each of the below tasks is ideally encapsulated in its own step, so that any failure — such as a file not existing, a third-party API being down or rate limited — does not cause your entire program to fail.
131
131
132
-
* Reading or writing files from R2
132
+
* Reading or writing files from [R2](/r2/)
133
133
* Running an AI task using [Workers AI](/workers-ai/)
134
-
* Querying a D1 database or a database via [Hyperdrive](/hyperdrive/)
134
+
* Querying a [D1 database](/d1/) or a database via [Hyperdrive](/hyperdrive/)
135
135
* Calling a third-party API
136
136
137
137
If a subsequent step fails, your Workflow can retry from that step, using any state returned from a previous step. This can also help you avoid unnecessarily querying a database or calling an paid API repeatedly for data you have already fetched.
@@ -163,7 +163,7 @@ name = "workflows-starter"
163
163
binding = "MY_WORKFLOW"
164
164
# this is class that extends the Workflow class in src/index.ts
165
165
class_name = "MyWorkflow"
166
-
# script_name is required during for the beta.
166
+
# script_name is required during the beta.
167
167
# Must match the "name" of your Worker at the top of wrangler.toml
168
168
script_name = "workflows-starter"
169
169
```
@@ -332,7 +332,7 @@ Your worker has access to the following bindings:
332
332
- MY_WORKFLOW: MyWorkflow (defined in workflows-starter)
0 commit comments