Skip to content
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

Use Cancellable where we spawn new tasks #317

Closed
wants to merge 7 commits into from

Commits on Sep 27, 2019

  1. Add Cancellable

    mhchia committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    00f511e View commit details
    Browse the repository at this point in the history
  2. Format

    mhchia committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    90e12d6 View commit details
    Browse the repository at this point in the history
  3. Use set instead of WeakSet for now

    It seems raised tasks are removed from the set, which makes us unable to
    detect failed tasks.
    mhchia committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    07b0c94 View commit details
    Browse the repository at this point in the history
  4. Fix test for Cancellable

    mhchia committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    a19d1bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c0ed09 View commit details
    Browse the repository at this point in the history
  6. Swarm

    mhchia committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    7f5e20b View commit details
    Browse the repository at this point in the history
  7. Make Mplex inherit Cancellable

    Besides, `await` the cancelled tasks to allow retrive results
    mhchia committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    4923a68 View commit details
    Browse the repository at this point in the history