@onflow/util-actor

A mechanism for forcing order/transitions of scoped async state

Usage no npm install needed!

<script type="module">
  import onflowUtilActor from 'https://cdn.skypack.dev/@onflow/util-actor';
</script>

README

Actor

Asynchronous self-contained isolated state, can only be comunicated with via a first-in/first-out message queue called a mailbox.

Please see the tests for examples.

As this is an unstable internal tool used by the SDK and FCl, using it directly from your code is a massive risk.

We will have documentation once we consider this utility stable.