* 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:
shockrah 2021-06-12 23:07:25 -07:00
parent 634461c591
commit 93ad507e4e

View File

@ -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
{