https://github.com/holsee/elixir_simple_retry_op_demo
Simple example of retrying operation in elixir with a supervised process
https://github.com/holsee/elixir_simple_retry_op_demo
elixir otp
Last synced: 11 months ago
JSON representation
Simple example of retrying operation in elixir with a supervised process
- Host: GitHub
- URL: https://github.com/holsee/elixir_simple_retry_op_demo
- Owner: holsee
- Created: 2019-10-01T17:16:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T17:16:45.000Z (over 6 years ago)
- Last Synced: 2025-07-15T04:26:58.266Z (12 months ago)
- Topics: elixir, otp
- Language: Elixir
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RetryDemo
Simple example application to demonstrate how you can perform retry operations
simply in elixir using a supervised process.
## Examples
```elixir
alias RetryDemo.UploadServer
```
Simulate successful upload:
```elixir
UploadServer.upload("some_file.doc")
```
Simulate upload failure with retry logic (any file ending with `.fail`):
```elixir
UploadServer.upload("some_file.fail")
```