Skip to content

Commit

Permalink
refactor(runtime): refactored the runtime to have a simple event loop (
Browse files Browse the repository at this point in the history
…#622)

BREAKING CHANGE: No longer reject on invalid actions, disabledLogging -> enableLogging
  • Loading branch information
tdreyno authored Apr 13, 2022
1 parent dac6076 commit 8b70f3e
Show file tree
Hide file tree
Showing 19 changed files with 751 additions and 798 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Test Coverage](https://api.codeclimate.com/v1/badges/bade509a61c126d7f488/test_coverage)](https://codeclimate.com/github/tdreyno/fizz/test_coverage)
[![npm latest version](https://img.shields.io/npm/v/@tdreyno/fizz/latest.svg)](https://www.npmjs.com/package/@tdreyno/fizz)
[![Minified Size](https://badgen.net/bundlephobia/minzip/@tdreyno/fizz)](https://bundlephobia.com/result?p=@tdreyno/fizz)

Fizz is a small library for building state machines that can effectively manage complex sequences of events. [Learn more about state machines (and charts).](https://statecharts.github.io)

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/boundActions.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ActionCreatorType, Enter, createAction } from "../action"
import { StateReturn, stateWrapper } from "../state"

import { createInitialContext } from "./createInitialContext"
import { createInitialContext } from "../context"
import { createRuntime } from "../runtime"
import { noop } from "../effect"

Expand Down
Loading

0 comments on commit 8b70f3e

Please sign in to comment.