pub fn bind_preflight<A, Db, S, F>(context: &Arc<LocalContext<A, Db, S, F>>)where
A: XmtpApi + 'static,
Db: XmtpDb + 'static,
S: XmtpMlsStorageProvider + 'static,
F: MaybeSend + MaybeSync + 'static,Expand description
Binds the client’s request preflight to the API client once, keeping only a weak reference to the context.
§Panics
If a preflight is already bound.