文宇祥
文宇祥
This make comlink.expose works in serviceworker.
Comlink not usable in serviceworker. Because serviceworker do not have self.postMessage.
see: https://code.visualstudio.com/updates/July_2016#_debugging. The debugger `ocamldebug` support `start` command which corresponds to this. But, after my test, I found it didn't work as expect. ``` ocaml let test () = print_endline...
Add tests to avoid regression.
Unmapped buffer should behave like transferred buffer.
So it can be postMessage to worker with zero copy.
Consider interval of 2021-06-26, 2022-06-25. interval.getTotalMonths returns -1 instead of 11. Here's my code fix it outside of datetime package. ```haxe @:access(datetime) class IntervalFix { public static function getTotalMonthsFix(interval:DateTimeIntervalCore) {...
It is hardcoded. Can we make it configable? https://github.com/pmndrs/jotai/blob/fc96b2c72a057cb00afef0dfbe2ca30cbb7b23c4/src/babel/utils.ts#L20-L42