-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wires through persistence to spawned children apps
This enables us to use persisters from the parent in spawned apps. It roughly works as follows: 1. We add a copy() method to the persisters 2. We pass hte persisters into the context input to the child 3. The child then clones the persisters/trackers 4. The child has a setting that allows for either cascading or overwriting persisters/trackers/whatnot (cascade is the default). 5. We use the same instance of persister/loader *if* the parent is using the same instance Note that this also improves some asynchronous generator stuff -- it's a bit complicated, but it allows you to define asynchronous *or* synchronous generators for the task-producing subclasses of parallel actions. The type is detected at runtime, allowing flexible implementation.
- Loading branch information
1 parent
b2eef9e
commit 25c907b
Showing
9 changed files
with
837 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.