John-John Tedro
John-John Tedro
Have you tried `position: Shared`? Beyond that, I'm not even sure It's a solvable problem given how Rune works.
Thank you! I'm not sure about `Timeout` for now. But principally it should not be generic in Rune since all futures are of a single type `Future`. For `tick`, you...
So some change is needed to allow a `Duration` to be stored as a constant value. We currently don't seem to support it during compilation because internally we convert it...
I'd suggest you skip the constants for now until support for constructing them for custom types has been implemented so this and #819 can be merged as-is and further extended...
I used this as basis for #861, since Duration uses `u64` and it's used to represent the full span of a Duration like with `Duration::MAX`. This made it really awkward...
Similar issue here with constant values like in #815
I added support for external constants in #860 and I was using this change as a reference. So I've re-added the constants now that it's been merged. There were also...
I believe refilling would also have to release any pending tasks? This is done primarily with [`add_tokens`](https://github.com/udoprog/leaky-bucket/blob/main/src/lib.rs#L462), but some more complexity might be involved since the core might or might...
Takes a long time to write, so if it's something you're interested in helping out with it would be appreciated! 1. Accessing the type hash of an object is now...
Hey! I've added `Shared` again. Can you see if it's covering your use cases again? I'll include it in a `0.14.1` release.