docs: parallel canister calls guide#97
Conversation
Review: Parallel CallsMust fix
Suggestions
Verified
|
- Fix incorrect into_future() comment: requests are dispatched on first poll() inside join_all, not when into_future() is called (CallFuture starts in Prepared state per cdk-rs call.rs) - Fix imprecise API description: Call::bounded_wait returns Call<'m,'a> which implements IntoFuture, not "an IntoFuture" - Add Box::pin comment explaining lifetime erasure for Vec collection - Name approximate in-flight limit (~500 per canister pair) per examples README - Replace Arc<RwLock<>> with RefCell in composite query example (WASM is single-threaded; RefCell is the standard ic-cdk convention)
|
<!-- feedback-addressed --> Feedback addressed — PR #97 (parallel-calls)Reviewer: marc0olo Changes appliedMust fix — both applied:
Suggestions — all applied:
Items skippedNone — all feedback items were factually correct and well-sourced. All must-fix and suggestion items were applied. |
Summary
Note: stub renamed from .md to .mdx for language-tab components.
Sync recommendation
informed by dfinity/examples — motoko/parallel_calls, rust/parallel_calls, motoko/composite_query, rust/composite_query