tink_core icon indicating copy to clipboard operation
tink_core copied to clipboard

Core utilities

Results 15 tink_core issues
Sort by recently updated
recently updated
newest added

There is a test in [`test/Outcomes.hx` line 42](https://github.com/0b1kn00b/tink_core/blob/41b5518a5e7700d4c068737e6c9a614e67e5c402/tests/Outcomes.hx#L43) that I don't quite understand. [Latest Haxe development build](https://github.com/HaxeFoundation/haxe/commit/0c9d011a3fd22a2a29e51c101fdcadb73ae7c422)

Via e.g. `-D tink_core.catch_exceptions` a few try/catch barriers would be added: 1. in Promise.next/new/irreversible exceptions would be propagated as errors. 2. In `Callback.guardStackoverflow` (which is where almost all dispatching goes...

v2.0.2 The following code will go OOM in a few seconds. ```haxe using tink.CoreApi; class Main { static final root:Signal = Signal.trigger(); static function main() { new haxe.Timer(100).run = ()...

Consider the following: ``` function tryGetData():Promise return shouldHalt ? Promise.NEVER : data; ``` it will give compilation error unless `Promise.NEVER` is put after the `data` or data is wrapped to...

Currently spec and implementation are not aligned, in part because it is tricky to do (see `CallbackList` and consider what happens when disposing during invocation).

Because we can!

Does it make sense for `tink.core.Error` to extend `haxe.Exception` when on Haxe 4.1? I known it's not always meant to be thrown (so it's not strictly an _exception_) but the...

hello ! using tink.CoreApi; doesn't have same effect as using tink.core.Promise for merging. when using only tink.CoreApi; the method and(p1:A,p2:B) generates Pair,Outcome,Error>> and not Pair as intended. ex: using tink.CoreApi;...

And mention Signal.generate.

documentation