-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature TaskManager Scheduler and Queue and Context Decorators for Timed and Cancellable #438
Commits on Sep 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c183ba1 - Browse repository at this point
Copy the full SHA c183ba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfd9eb2 - Browse repository at this point
Copy the full SHA dfd9eb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd88963 - Browse repository at this point
Copy the full SHA dd88963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a16034 - Browse repository at this point
Copy the full SHA 6a16034View commit details -
feat: introducing
Timer
as an object for trackingsetTimeout
, to ……be used for async deadlines
Configuration menu - View commit details
-
Copy full SHA for 2ef9a88 - Browse repository at this point
Copy the full SHA 2ef9a88View commit details -
feat: introducing
timed
andcancellable
decorators to automate as……ynchronous deadlines and asynchronous cancellation
Configuration menu - View commit details
-
Copy full SHA for 9cd5c25 - Browse repository at this point
Copy the full SHA 9cd5c25View commit details -
fix: integrating
Timer
withPromiseCancellable
from `@matrixai/as……ync-cancellable` * added `isPromise`, `isPromiseLike`, `isIterable`, `isAsyncIterable` to detect async and generator interfaces * timed decorator works for regular values, `PromiseLike` and `Iterable` and `AsyncIterable` * introduced `ContextTimed` type and other `Context*` types * stack trace is refers when construction time, so decorator takes error class constructor
Configuration menu - View commit details
-
Copy full SHA for fb5189b - Browse repository at this point
Copy the full SHA fb5189bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee78bf - Browse repository at this point
Copy the full SHA 3ee78bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c63ac8 - Browse repository at this point
Copy the full SHA 4c63ac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82eb029 - Browse repository at this point
Copy the full SHA 82eb029View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0d7182 - Browse repository at this point
Copy the full SHA e0d7182View commit details -
feat: introducing
tasks
domain for managing background asynchronous…… tasks * Created a `Plug` class for managing the locking of scheduling and queuing loops * Using `performance.now()` for acquiring the current time
Configuration menu - View commit details
-
Copy full SHA for 4f8e834 - Browse repository at this point
Copy the full SHA 4f8e834View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad8bffd - Browse repository at this point
Copy the full SHA ad8bffdView commit details -
fix(tasks): adding
Task
getter functionsgetTask
getTasks
and `……getGroupTasks`
Configuration menu - View commit details
-
Copy full SHA for ca4fee3 - Browse repository at this point
Copy the full SHA ca4fee3View commit details -
fix(tasks): changing
TaskGroup
toTaskPath
as a alias for `LevelP……ath`, `taskGroup` is refered to as `path` now
Configuration menu - View commit details
-
Copy full SHA for 462c4f8 - Browse repository at this point
Copy the full SHA 462c4f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8772157 - Browse repository at this point
Copy the full SHA 8772157View commit details -
Configuration menu - View commit details
-
Copy full SHA for af44659 - Browse repository at this point
Copy the full SHA af44659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffa6dd - Browse repository at this point
Copy the full SHA 5ffa6ddView commit details -
feat(tasks): centralising Queue and Scheduler into a single `TaskMana…
…ger` * tasks can be cancelled at any stage: scheduled, queued or active * `TaskData` is suitable to be encoded into JSON and back * Graceful shutdown of `TaskManager` * `TaskHandler` gets `TaskInfo` as second parameter after the `ContextTimed`
Configuration menu - View commit details
-
Copy full SHA for e2852df - Browse repository at this point
Copy the full SHA e2852dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19fbf14 - Browse repository at this point
Copy the full SHA 19fbf14View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62035b - Browse repository at this point
Copy the full SHA f62035bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0424d - Browse repository at this point
Copy the full SHA 9a0424dView commit details
Commits on Sep 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fb28a53 - Browse repository at this point
Copy the full SHA fb28a53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a63ac5 - Browse repository at this point
Copy the full SHA 6a63ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c973f - Browse repository at this point
Copy the full SHA 03c973fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ec10a - Browse repository at this point
Copy the full SHA d3ec10aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d57737 - Browse repository at this point
Copy the full SHA 2d57737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37733c4 - Browse repository at this point
Copy the full SHA 37733c4View commit details -
fix(contexts): when timed decorator inherits timer and signal, it sho…
…uld do nothing There are 3 properties for the `timed` wrapper: A. If timer times out, signal is aborted B. If signal is aborted, timer is cancelled C. If timer is owned by the wrapper, then it must be cancelled when the target finishes There are 4 cases where the wrapper is used and where the properties are applied: 1. Nothing is inherited - A B C 2. Signal is inherited - A B C 3. Timer is inherited - A 4. Both signal and timer are inherited - A* B and C are only applied to case 1 and 2, because that's when the `Timer` is owned by the wrapper. *Case 4 is a special case, because the timer and signal are inherited, so it is assumed that the handlers are already setup betwen the timer and signal.
Configuration menu - View commit details
-
Copy full SHA for d20fb50 - Browse repository at this point
Copy the full SHA d20fb50View commit details -
feat(contexts): introducing
timedCancellable
decorator and HOF and ……factored out common functionality in contexts domain
Configuration menu - View commit details
-
Copy full SHA for eb4e287 - Browse repository at this point
Copy the full SHA eb4e287View commit details
Commits on Sep 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cc9920e - Browse repository at this point
Copy the full SHA cc9920eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5647b39 - Browse repository at this point
Copy the full SHA 5647b39View commit details