02:27
<bakkot>
has anyone proposed overloading setTimeout and friends to accept Temporal.Duration objects? I want to write setTimeout(Temporal.Duration.from({ minutes: 10 }))
02:27
<bakkot>
I guess I could do setTimeout(Temporal.Duration.from({ minutes: 10 }).total('milliseconds')) already
02:27
<bakkot>
really what I want is to overload it to take anything coercible to a Temporal.Duration so I could just write setTimeout({ minutes: 10 }) directly
05:13
<annevk>
bakkot: I haven't seen a proposal for that, Temporal also isn't integrated yet although there's a PR for that now by Ms2ger