Skip to content

Repository files navigation

MathService

Provide simple math services to the cluster

sum

Example

seneca.act('role:math,cmd:sum,ver:1', { a: 1, b: 2 }, (err, res) => {
  /* 
   * Result: {
   *   sum: <NUMBER>
   * }
   */
});

product

Example

seneca.act('role:math,cmd:product,ver:1', { a: 1, b: 2 }, (err, res) => {
  /* 
   * Result: {
   *   product: <NUMBER>
   * }
   */
});

About

Provide simple math services to the cluster

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages