Skip to content

Instantly share code, notes, and snippets.

@Goblinlordx
Last active March 7, 2022 06:08
Show Gist options
  • Save Goblinlordx/ea83f27a61ded66e97696d866d70e4ec to your computer and use it in GitHub Desktop.
Save Goblinlordx/ea83f27a61ded66e97696d866d70e4ec to your computer and use it in GitHub Desktop.
task management doc

Basic task initiation and monitoring

  1. Client calls BE and initiates a Task. BE responds with a task ID or an error. The task ID can optionally be used by client.
  2. Client can establish a channel to receive task updates and maintain a local cache of the current task states. When client initializes, it can retrieve a list of active tasks on the backend for the given user.

A more detailed flow showing the Client, BE, DB, and ExternalServices

A slightly different approach using an event bus instead of directly calling thigns:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment