Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: streaming functions #190

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update lib.rs
  • Loading branch information
JonasKruckenberg committed Sep 10, 2023
commit 4731e0b29194c18d3fb7875e9a4ab3a7eeaec16f
2 changes: 1 addition & 1 deletion crates/ipc-router-wip/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ pub trait BuilderExt {
impl<R: Runtime> BuilderExt for tauri::Builder<R> {
fn ipc_router<U: Send + Sync + 'static>(self, router: Router<U>) -> Self {
self.manage(Mutex::new(router))
let res = uri_scheme_handler_inner::<U, _>(app, req);
.register_asynchronous_uri_scheme_protocol("ipc", |app, req, responder| {
let res = uri_scheme_handler_inner::<U, _>(app, req);

log::debug!("call result {:?}", res);

Expand Down