0.0.4 • Published 7 years ago

monad-sequence-promise v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Description

Status: documentation.

Pattern functional programming monad sequence. Monad provide description and execute chain operation contain same function.

Monad wrap promise chain control and extend it opportunities execute.

Introduction

$ npm install monad-sequence-promise

Why

  • Abstracting and hiding sequence execution mechanisms;
  • Control executive sequence;
  • Control calls service functions: defined, arguments, returning value;
  • Transfer the extended number of parameters between service functions;
  • Mixin additional functionality without changing the service functions, keeping them clean;
  • Debugging execution sequence through logging.

Usage Patterns

  • Sequence sequence shares by operation. Operation group calculation which result need next operation.
  • Operation shares by action. Action - service function usually pure.

Example usage, temporal, look unit test.

API

Monad

ERROR, Cannot find module.

Operations

Roadmap

  • Documentation