Results 25 comments of Dylan R. Johnston

Example ```ts /* Type 'Stream' is not assignable to type 'Stream'. Types of property '_ils' are incompatible. Type 'InternalListener[]' is not assignable to type 'InternalListener[]'. Type 'InternalListener' is not assignable...

I'm not sure how to get this to work with operators that work on Streams and MemoryStreams. I see a few different options. 1. Namespace the operators, something like `mapMemory`...

Just realised Typescript already has pattern matching for types, function overloads! ``` type AnyStream = Stream | MemoryStream interface StreamOperator { ($: MemoryStream): MemoryStream ($: Stream): Stream } export const...

Hey all, I've recently come across a need for this feature and I'm also between jobs and so have some spare time to work on something like this. However I'm...

Here's a procedural macro for it, the macro attributes get passed directly to `serde` so you can customize the the tagging convention. ```rs // lib.rs use proc_macro::TokenStream; mod serde_wasm_bindgen; #[proc_macro_attribute]...

This is the kinda hacky work around I've found. ``` livescript require! { 'co' : start-coroutine 'prelude-ls' : { map } } sleep = (n) -> resolve, _ * func...

I'd just like to throw in my 5 cents while you're considering error handling. With the new axum support, the lack of implementation of `IntoResponse` for `worker::Error` presents a bit...

I seem to be able to reliably trigger the error when using the Hibernating Sockets API. When a socket disconnects and then the Durable Object is evicted it triggers the...

Yeah that might be a bit tricky given I'm using `Nix`, `Rust`, and `wasm-bindgen` to build the project, I'm on an M2 Macbook Pro, but still Apple Silicon.

I think you can change the signature of ```rs pub fn get_tags(this: &DurableObjectState, ws: &web_sys::WebSocket) -> wasm_bindgen::JsValue; ``` into ```rs pub fn get_tags(this: &DurableObjectState, ws: &web_sys::WebSocket) -> Vec ``` and...