diff --git a/src/js_sync.hpp b/src/js_sync.hpp index ad136bf7..3542bcb6 100644 --- a/src/js_sync.hpp +++ b/src/js_sync.hpp @@ -361,7 +361,7 @@ void SessionClass::add_progress_notification(ContextType ctx, FunctionType, O progressFunc = std::move(progress_handler); - auto registrationToken = session->register_progress_notifier(std::move(progressFunc), notifierType, false); + auto registrationToken = session->register_progress_notifier(std::move(progressFunc), notifierType, is_streaming); auto syncSession = create_object>(ctx, new WeakSession(session)); PropertyAttributes attributes = ReadOnly | DontEnum | DontDelete;