diff options
| author | Fuwn <[email protected]> | 2021-06-06 21:07:53 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-06-06 21:07:53 +0000 |
| commit | 4ac49a4dfcb8704a9df80bd3ec10bb625a62ad29 (patch) | |
| tree | 8e85f2fa605cdd85598da51fe5c53a80b66c58a8 | |
| parent | refactor(whirl_server): un-publicize distributor and hub structs (diff) | |
| download | whirl-4ac49a4dfcb8704a9df80bd3ec10bb625a62ad29.tar.xz whirl-4ac49a4dfcb8704a9df80bd3ec10bb625a62ad29.zip | |
docs(whirl_api): document public functions
| -rw-r--r-- | crates/whirl_api/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/whirl_api/src/lib.rs b/crates/whirl_api/src/lib.rs index e6660a7..882beeb 100644 --- a/crates/whirl_api/src/lib.rs +++ b/crates/whirl_api/src/lib.rs @@ -64,6 +64,9 @@ impl Api { } } +/// Spawn and return a thread handle for the API -- which +/// should be -- instantiated by the `whirl_api` crate. +/// /// # Panics /// - A panic may occur if the mpsc sender is unable to send a clone of the /// server. |