holsee / elixir_simple_retry_op_demo

Simple example of retrying operation in elixir with a supervised process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RetryDemo

Simple example application to demonstrate how you can perform retry operations simply in elixir using a supervised process.

Examples

alias RetryDemo.UploadServer

Simulate successful upload:

UploadServer.upload("some_file.doc")

Simulate upload failure with retry logic (any file ending with .fail):

UploadServer.upload("some_file.fail")

About

Simple example of retrying operation in elixir with a supervised process


Languages

Language:Elixir 100.0%