Gentry v0.1.1 API Reference

Modules

This is a convenience module for running synchronous tasks

Setup Gentry for running workers and tasks

The worker is responsible for actually running and coordinating the retries of the task given in the form of a function called task_function

  • retries_remaining is counting down to 0 for retries
  • task_function is the whole purpose: the task we’re trying to run
  • runner_pid is the process that requested the task to be run and will get the reply
  • task is the spawned task that’s executing task_function

Support running a transient child/worker process