Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 26, 2023
1 parent cc1fa1f commit 266be2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/yew-agent/src/oneshot/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ where
}
}

/// A Oneshot Agent Provider.
/// The Oneshot Agent Provider.
///
/// This component provides its children access to an oneshot agent.
#[function_component]
Expand Down
4 changes: 3 additions & 1 deletion packages/yew-agent/src/reactor/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ where
}
}

/// The reactor provider.
/// The Reactor Agent Provider.
///
/// This component provides its children access to a reactor agent.
#[function_component]
pub fn ReactorProvider<R, CODEC = Bincode>(props: &WorkerProviderProps) -> Html
where
Expand Down
4 changes: 2 additions & 2 deletions packages/yew-agent/src/worker/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ where
}
}

/// A Worker Agent Provider.
/// The Worker Agent Provider.
///
/// This component provides its children access to an worker agent.
/// This component provides its children access to a worker agent.
#[function_component]
pub fn WorkerProvider<W, CODEC = Bincode>(props: &WorkerProviderProps) -> Html
where
Expand Down

0 comments on commit 266be2b

Please sign in to comment.