* test package metrics action
* fix metrics step
* wip metrics
* use context directly
* avoid circular deps
* revert github action
* sketch out default metrics
* add constructors for other metric types
* rename default metrics to FiberRuntimeMetrics
* run codegen
* make metric registry a reference
* fix example
* support metric dumps
* add tests for metric tracking
* add runtime metrics
* small optimization to avoid import from core
* separate metric initialization by subtype
* refine the metric tracking apis and move to the effect module
* add instance and layer for runtime metrics service
* fix doc string
* Use reference and allow disable combinators (#81)
* fix type signature in docstring
---------
Co-authored-by: Michael Arnaldi <michael.arnaldi@effectful.co>
* Improve batching example
* perf fixes
* remove setInterval from batch.ts
* improve layer example
* use bench utility in batch example
---------
Co-authored-by: Tim <hello@timsmart.co>
* Experiment making STM a plain Effect
* improve naming and structure
* commit only on clean exit
* improve
* make nested tx compose
* move retry to defects
* improve naming, handle interruption on awaitPendingTxJournal
* unify import
* use async return instead of onInterrupt
* schedule individual pending
* avoid intermediate array
* improve example
* add concurrency to example
* separate journaled and transaction
* add docs, improve naming, switch to interrupt for retry
* unify atomic and transaction
* fix return
* add bundle test
* use forkScoped in bundle test
* avoid unnecessary boxing
* improve perf
* fix jsdoc
* make tag more unique
* transaction play (#51)
---------
Co-authored-by: Tim <hello@timsmart.co>
* Extract functions from scope
* Apply middleware strategy to scope close
* Add check that default scope is never created
* extract close
* make close type safe