Function leptos_use::use_event_source_with_options

source ยท
pub fn use_event_source_with_options<T, C>(
    url: &str,
    options: UseEventSourceOptions<T, C>
) -> UseEventSourceReturn<T, C::Error, impl Fn() + Clone + 'static, impl Fn() + Clone + 'static>
where T: Clone + PartialEq + 'static, C: StringCodec<T> + Default,
Expand description

Version of use_event_source that takes a UseEventSourceOptions. See use_event_source for how to use.