Complete API documentation for @neabyte/utils-core.
- Async - Abortable sleep and promise timeout utilities.
- Broadcast - Named-channel event bus for decoupled communication.
- Clone - Deep and shallow cloning with structured clone fallback.
- Immutable - Recursive freezing and read-only proxies.
- Iterable - Lazy iterator pipeline built on ES2025 Iterator helpers.
- Sequential - Async function queue with configurable concurrency.
- Signal - Typed event emitter for pub/sub communication.
- Store - Reactive state container with change notifications and derived state.
| Module | Purpose | Factory |
|---|---|---|
| Async | Sleep / timeout | Async.sleepDelay / Async.withTimeout |
| Broadcast | Named events | createBroadcast(opts?) |
| Clone | Deep / shallow clone | Clone.clone / Clone.deepClone |
| Immutable | Freeze / harden | Immutable.deepFreeze / Immutable.harden |
| Iterable | Lazy pipelines | Iterable.from(...) / Iterable.range(...) |
| Sequential | Async queue | createSequential<Args, Return>(fn, opts?) |
| Signal | Event emitter | createSignal<Args>(opts?) |
| Store | State management | createStore<T>(initial, opts?) |