diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-17 22:30:50 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-17 22:38:39 +0800 |
| commit | f27f5aeb09616b932ab48f0905994879dd8bafe5 (patch) | |
| tree | 2deea67f7ed910ad824fbcce2330ab5c475e51a0 /examples/example-async | |
| parent | bdd736ad9899aed74aaa2760c6e068dcae0e6925 (diff) | |
Rename `NextProcess` to `Next` across the codebase
Diffstat (limited to 'examples/example-async')
| -rw-r--r-- | examples/example-async/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example-async/src/main.rs b/examples/example-async/src/main.rs index 889895c..7b0be38 100644 --- a/examples/example-async/src/main.rs +++ b/examples/example-async/src/main.rs @@ -35,8 +35,8 @@ pack!(Hello = String); // You can freely use async / non-async functions to declare your Chain #[chain] -// fn parse_name(prev: HelloEntry) -> NextProcess { -async fn parse_name(prev: HelloEntry) -> NextProcess { +// fn parse_name(prev: HelloEntry) -> Next { +async fn parse_name(prev: HelloEntry) -> Next { let name = prev.first().cloned().unwrap_or_else(|| "World".to_string()); Hello::new(name).to_render() } |
