cleanup
This commit is contained in:
parent
7820a409bf
commit
3e69eed22f
7 changed files with 51 additions and 21 deletions
|
@ -67,7 +67,6 @@ pub async fn emit<T: Serialize>(event: &str, payload: &T) -> crate::Result<()> {
|
|||
///
|
||||
/// @param event Event name. Must include only alphanumeric characters, `-`, `/`, `:` and `_`.
|
||||
/// @param handler Event handler callback.
|
||||
/// @returns A promise resolving to a function to unlisten to the event.
|
||||
///
|
||||
/// Note that removing the listener is required if your listener goes out of scope e.g. the component is unmounted.
|
||||
#[inline(always)]
|
||||
|
@ -112,7 +111,6 @@ where
|
|||
/// ```
|
||||
///
|
||||
/// @param event Event name. Must include only alphanumeric characters, `-`, `/`, `:` and `_`.
|
||||
/// @returns A promise resolving to a function to unlisten to the event.
|
||||
///
|
||||
/// Note that removing the listener is required if your listener goes out of scope e.g. the component is unmounted.
|
||||
#[inline(always)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue