command-invoker

Module to help encapsulate method invocation

Usage no npm install needed!

<script type="module">
  import commandInvoker from 'https://cdn.skypack.dev/command-invoker';
</script>

README

Command Invoker

Utility that implements the chain-of-responsibilty pattern.

It uses a mechanism for adding new processing objects to the end of a chain.

Useful on long runing/multiple activities processing queues.

Help to undo actions where possible.