Kirill Alexander Khalitov
Kirill Alexander Khalitov
Iterators (asynchronous) is coming to real world practical development. https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
Thanks for the explanation. My first confusion was that `functor` is a shortcut for "**funct**ion p**o**inte**r**". 🙃
@jadedevin13 I use connection callback (https://github.com/snapview/tungstenite-rs/blob/master/examples/server.rs#L12) as workaround: ```rust req.headers().get("sec-websocket-protocol").map(|sp| { let headers = resp.headers_mut(); headers.append("sec-websocket-protocol", sp.clone()); }); ```
Hi. According to @sophiebits `useEventCallback` implementation why is it function uses `useLayoutEffect` and not `useEffect` for `ref` updating? And is it normal due to current limitations use `useEventCallback` for all...
Is this new React release helps with the issue? https://reactjs.org/blog/2020/08/10/react-v17-rc.html#changes-to-event-delegation
@LucioFranco Yes. But one can set warning disabling attribute like this: ```rust pub mod protobuf { #![allow(non_camel_case_types)] include!(concat!(env!("OUT_DIR"), "/protoapi.rs")); } ```
Until this https://github.com/tokio-rs/prost/pull/336 changes will be merged there is no good type safe way for casting `Any` to concrete message. I have workaround like this: ```rust /* test.proto syntax =...
One thing to note. Then we use `type_attribute` function we need to set original message name from proto-file.
If you change `[Enum]` annotation to `[Error]` one the problem will disappear (at least on version 0.23+).
Same discussion is here (https://github.com/openid/AppAuth-Android/issues/784#issuecomment-999560861). But even after reading that I am not sure how to use Android App Link (verified https domain) as `redirect_uri`. If I set working (tested...