mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-03-13 01:09:48 -04:00
fixed merge artifacts
This commit is contained in:
parent
e00f461ea7
commit
9df6281ff7
2 changed files with 9 additions and 11 deletions
|
@ -73,6 +73,7 @@ exclude = ["ssr", "use_webtransport_with_server"]
|
|||
|
||||
[workspace.dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos" }
|
||||
codee = { version = "0.2" }
|
||||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
|
@ -94,8 +95,5 @@ panic = "abort"
|
|||
|
||||
[lib]
|
||||
|
||||
[workspace.dependencies]
|
||||
codee = { version = "0.2" }
|
||||
|
||||
[package.metadata.leptos]
|
||||
lib-profile-release = "wasm-release"
|
||||
|
|
|
@ -239,8 +239,8 @@ where
|
|||
Tx: Send + Sync + 'static,
|
||||
Rx: Send + Sync + 'static,
|
||||
C: Encoder<Tx> + Decoder<Rx>,
|
||||
C: HybridEncoder<Tx, <C as Encoder<Tx>>::Encoded, Error = <C as Encoder<Tx>>::Error>,
|
||||
C: HybridDecoder<Rx, <C as Decoder<Rx>>::Encoded, Error = <C as Decoder<Rx>>::Error>,
|
||||
C: HybridEncoder<Tx, <C as Encoder<Tx>>::Encoded, Error=<C as Encoder<Tx>>::Error>,
|
||||
C: HybridDecoder<Rx, <C as Decoder<Rx>>::Encoded, Error=<C as Decoder<Rx>>::Error>,
|
||||
{
|
||||
use_websocket_with_options::<Tx, Rx, C>(url, UseWebSocketOptions::default())
|
||||
}
|
||||
|
@ -265,8 +265,8 @@ where
|
|||
Tx: Send + Sync + 'static,
|
||||
Rx: Send + Sync + 'static,
|
||||
C: Encoder<Tx> + Decoder<Rx>,
|
||||
C: HybridEncoder<Tx, <C as Encoder<Tx>>::Encoded, Error = <C as Encoder<Tx>>::Error>,
|
||||
C: HybridDecoder<Rx, <C as Decoder<Rx>>::Encoded, Error = <C as Decoder<Rx>>::Error>,
|
||||
C: HybridEncoder<Tx, <C as Encoder<Tx>>::Encoded, Error=<C as Encoder<Tx>>::Error>,
|
||||
C: HybridDecoder<Rx, <C as Decoder<Rx>>::Encoded, Error=<C as Decoder<Rx>>::Error>,
|
||||
{
|
||||
let url = normalize_url(url);
|
||||
|
||||
|
@ -315,7 +315,7 @@ where
|
|||
reconnect_timer_ref.set_value(
|
||||
set_timeout_with_handle(
|
||||
move || {
|
||||
if unmounted.get() {
|
||||
if unmounted.load(std::sync::atomic::Ordering::Relaxed) {
|
||||
return;
|
||||
}
|
||||
if let Some(connect) = connect_ref.get_value() {
|
||||
|
|
Loading…
Add table
Reference in a new issue