Git Product home page Git Product logo

simple-swf's Introduction

Simple-SWF

An actually simpler wrapper around AWS Simple Workflow Service

What is it?

Simple-SWF provides an opionated wrapper and classes around the SWF APIs that make it usable by mere mortals.

This library takes care of:

  • Provider polling works for both decision and activity tasks
  • A Claim Check system for dealing with the input and control fields that have limited size
  • A JS API you can implement for both activities and deciders

it does this while remaining highly customizable and configurable. All SWF options are exposed as are almost* all decision types

* currently missing external workflow decision types

Still not enough?

This API mainly serves as a layer for ftl-engine, which provides a much more batteries-included approach to running workflows.

Docs

This codebase is written in typescript, so the typescript annotations mostly serve as the documentation for API.

Also see the tests for more details

Contributing

All contributions are welcome, but to help make things easier, please follow these steps

  1. What kind of contribution are you making? For bugs and small changes, please just open a pull request, for larger changes, open an issue first to discuss the change
  2. Make your change
  3. Run the tests npm run test
  4. Run the linter npm run lint
  5. Open the PR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.