* Exposing rtc::notify to avoid single use functions
This also avoid sthe issue of rustc not inling these functions leaving us with more jump than we need
This commit is contained in:
parent
634461c591
commit
93ad507e4e
@ -64,7 +64,7 @@ fn make_url() -> Url {
|
||||
url
|
||||
}
|
||||
|
||||
async fn notify<P>(event_name: &str, payload: P)
|
||||
pub async fn notify<P>(event_name: &str, payload: P)
|
||||
-> Result<(), Error> where
|
||||
P: Serialize
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user