Pantrypoints Pantrypoints

Supervisors

August 22, 2023 1 minutes  • 59 words
Table of contents

Elixir Supervisors

  • restarts child processes when they fail

Strategies

  1. :one_for_one

If a child terminates, only that process is restarted.

  1. :one_for_all

If a child terminates, all other children are terminated. Then all children (including the terminated one) are restarted.

  1. :rest_for_one

If a child terminates, the terminated child and the rest of the children started after it, are terminated and restarted.

Follow Us! →

We're creating a new Economic System from a new Economic Science! Please support us by leaving your email or leaving a comment above.