Function init

Source
pub fn init<R, TCtxFn, TCtx>(
    procedures: impl Into<Procedures<TCtx>>,
    ctx_fn: TCtxFn,
) -> TauriPlugin<R>
where R: Runtime, TCtxFn: Fn(Window<R>) -> TCtx + Send + Sync + 'static, TCtx: Send + Sync + 'static,