Skip to content

Version Packages - #116

Merged
SandroMaglione merged 1 commit into
mainfrom
changeset-release/main
Aug 15, 2026
Merged

Version Packages#116
SandroMaglione merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@typeonce/effect-machine@0.11.0

Minor Changes

  • 2a84cd2: Add Machine.prepare for composing snapshot and emission streams before a machine initializes, while keeping Machine.start as the one-step convenience.

    const prepared = yield * Machine.prepare(machine)
    yield *
      prepared.emissions.pipe(
        Stream.runForEach(handleEmission),
        Effect.forkScoped({ startImmediately: true })
      )
    const ref = yield * prepared.start

    AtomMachine emission streams use the same preparation boundary, and machine definitions now expose definition.invoke(...) so invocation self and parent references use the exact public input and parentEvents protocols.

@SandroMaglione
SandroMaglione merged commit 3d15bcd into main Aug 15, 2026
13 checks passed
@SandroMaglione
SandroMaglione deleted the changeset-release/main branch August 15, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant