Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreiavrammsd/workexec
Experimenting implementations of Task and Task Executor, Job and Job Runner, Future, Promise.
https://github.com/andreiavrammsd/workexec
future golang job promise task
Last synced: about 2 months ago
JSON representation
Experimenting implementations of Task and Task Executor, Job and Job Runner, Future, Promise.
- Host: GitHub
- URL: https://github.com/andreiavrammsd/workexec
- Owner: andreiavrammsd
- License: mit
- Created: 2019-11-13T16:56:34.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T06:37:03.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T01:57:51.362Z (6 months ago)
- Topics: future, golang, job, promise, task
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Executing work
Experimental examples of executing work using various implementations of Task and Task Executor, Job and Job Runner, Future, Promise.
## Future
A basic Future implementation with a Task doing some work. Supports cancellation.
## Future Reflect
Experimenting Future callbacks with reflection. Callbacks can have multiple signatures.
## Job
Running a Job which takes a Task and handles work with a Future.
## Promise
An async/await approach on executing work.
## Runner
A queue system to execute jobs supporting cancellation by ID and scaling up/down level of concurrency without restarting application.
## Simple Future
Just another approach on Futures.
## Task Executor
A basic tasks execution system.