| { |
| "bindings": { |
| "dart": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "dart/step_00_before.dart", |
| "steps": [ |
| { |
| "fidl": "step_02_during", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "Implement the stream for the new event for any server implementations.", |
| "You can start receiving the new event in any clients." |
| ], |
| "source": "dart/step_03_after.dart", |
| "step_num": 3 |
| }, |
| { |
| "fidl": "step_04_after", |
| "step_num": 4 |
| } |
| ] |
| }, |
| "go": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "go/step_00_before/step_00_before.go", |
| "steps": [ |
| { |
| "fidl": "step_02_during", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "You can start using the new event on both the client and server side." |
| ], |
| "source": "go/step_03_after/step_03_after.go", |
| "step_num": 3 |
| }, |
| { |
| "fidl": "step_04_after", |
| "step_num": 4 |
| } |
| ] |
| }, |
| "hlcpp": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "hlcpp/step_00_before.cc", |
| "steps": [ |
| { |
| "fidl": "step_02_during", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "You can start using the new event on both the client and server side." |
| ], |
| "source": "hlcpp/step_03_after.cc", |
| "step_num": 3 |
| }, |
| { |
| "fidl": "step_04_after", |
| "step_num": 4 |
| } |
| ] |
| }, |
| "llcpp": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "llcpp/step_00_before.cc", |
| "steps": [ |
| { |
| "fidl": "step_02_during", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "For usages of the async event handle struct, add a handler for the new event if desired.", |
| "For usages of the async event handler class, you must add a handle for the new event.", |
| "You can start receiving the new event in any clients." |
| ], |
| "source": "llcpp/step_03_after.cc", |
| "step_num": 3 |
| }, |
| { |
| "fidl": "step_04_after", |
| "step_num": 4 |
| } |
| ] |
| }, |
| "rust": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "rust/step_00_before.rs", |
| "steps": [ |
| { |
| "instructions": [ |
| "Add `#[allow(unreachable_patterns)]` and a catch-all arm (`_`) to any client event stream match statements" |
| ], |
| "source": "rust/step_01_during.rs", |
| "step_num": 1 |
| }, |
| { |
| "fidl": "step_02_during", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "Remove the `#[allow(unreachable_patterns)]` attribute and replace the catch-all arm with the new event.", |
| "You can start sending the new event in any servers." |
| ], |
| "source": "rust/step_03_after.rs", |
| "step_num": 3 |
| }, |
| { |
| "fidl": "step_04_after", |
| "step_num": 4 |
| } |
| ] |
| } |
| }, |
| "fidl": { |
| "step_00_before": { |
| "instructions": [], |
| "source": "fidl/step_00_before.test.fidl" |
| }, |
| "step_02_during": { |
| "instructions": [ |
| "Add the new event and mark it with the `[Transitional]` attribute." |
| ], |
| "source": "fidl/step_02_during.test.fidl" |
| }, |
| "step_04_after": { |
| "instructions": [ |
| "Remove the `[Transitional]` attribute." |
| ], |
| "source": "fidl/step_04_after.test.fidl" |
| } |
| }, |
| "title": "Add a protocol event" |
| } |