Skip to content

Commit af8d02c

Browse files
committed
comment out pause
1 parent 151eb2e commit af8d02c

File tree

4 files changed

+9
-40
lines changed

4 files changed

+9
-40
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ Finished processing secrets JSON file:
12491249

12501250
:::note
12511251

1252-
`wrangler workflows` commands are available in `wrangler` version `3.82.0` or later.
1252+
The `wrangler workflows` command requires Wrangler version `3.83.0` or greater. Use `npx wrangler@latest` to always use the latest Wrangler version when invoking commands.
12531253

12541254
:::
12551255

@@ -1327,6 +1327,7 @@ wrangler workflows instances terminate <WORKFLOW_NAME> <ID> [OPTIONS]
13271327
- `ID` <Type text="string" /> <MetaInfo text="required" />
13281328
- The ID of a Workflow instance.
13291329

1330+
{/*
13301331
### `instances pause`
13311332
13321333
Pause (until resumed) a Workflow instance.
@@ -1353,6 +1354,8 @@ wrangler workflows instances resume <WORKFLOW_NAME> <ID> [OPTIONS]
13531354
- `ID` <Type text="string" /> <MetaInfo text="required" />
13541355
- The ID of a Workflow instance.
13551356
1357+
*/}
1358+
13561359
### `describe`
13571360

13581361
```sh

src/content/docs/workflows/build/dynamic-steps.mdx

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To bind to a Workflow from your Workers code, you need to define a [binding](/wo
3434
```toml title="wrangler.toml"
3535
name = "workflows-tutorial"
3636
main = "src/index.ts"
37-
compatibility_date = "2024-10-22"
37+
compatibility_date = "2024-10-15"
3838

3939
[[workflows]]
4040
# The name of the Workflow
@@ -117,7 +117,7 @@ The possible values of status are as follows:
117117
output?: object;
118118
};
119119
```
120-
120+
{/*
121121
### Explicitly pause a Workflow
122122
123123
You can explicitly pause a Workflow instance (and later resume it) by calling `pause` against a specific instance ID.
@@ -137,6 +137,7 @@ await instance.resume() // Returns Promise<void>
137137
```
138138
139139
Calling `resume` on an instance that is not currently paused will have no effect.
140+
*/}
140141

141142
### Stop a Workflow
142143

@@ -153,7 +154,7 @@ Once stopped, the Workflow instance *cannot* be resumed.
153154

154155
:::caution
155156

156-
**Known issue**: Restarting a Workflow via the `restart()` method is not currently supported and will throw an exception (error).
157+
**Known issue**: Restarting a Workflow via the `restart()` method is not currently supported ad will throw an exception (error).
157158

158159
:::
159160

src/content/docs/workflows/get-started/cli-quick-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Refer to the [triggering Workflows](/workflows/build/trigger-workflows/) documen
230230

231231
:::note
232232

233-
The `wrangler workflows` command requires Wrangler version `3.82.0` or greater. Use `npx wrangler@latest` to always use the latest Wrangler version when invoking commands.
233+
The `wrangler workflows` command requires Wrangler version `3.83.0` or greater. Use `npx wrangler@latest` to always use the latest Wrangler version when invoking commands.
234234

235235
:::
236236

0 commit comments

Comments
 (0)