Skip to content
7willowsPublic

About

Service orchestrator

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

GROW

Environment variables

Browser client (/grow.js)

grow.plant(name) returns a proxy whose methods POST to /<plant>/<method>. grow.plant(name, options) accepts:

  • keepalive - send the calls with fetch's keepalive flag, so a request started from pagehide/unload survives the page (e.g. releasing a server-side lock when the tab is closed). Browsers cap such bodies at 64 KB and the response is not delivered once the page is gone, so use it only for fire-and-forget calls.

TODO

  • add timeout to calls
  • count number of service crashes and don't restart after certain amount of crashes
  • File class which would accept filePath (an url). This way we wouldn't have to move buffers between workers
  • ability to send queued calls from client
  • websocket
  • logs and ctx (as this)
  • remove npm:ts-pattern dependency

About

Service orchestrator

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages