Skip to content
Browse files

add docstring to SubprocessRunner

  • Loading branch information...
TaiSakuma committed Mar 14, 2019
1 parent 3790310 commit 9868660f40417fe3368006b236c04c49b806635c
Showing with 9 additions and 0 deletions.
  1. +9 −0 alphatwirl/concurrently/
@@ -6,6 +6,15 @@

class SubprocessRunner(object):
"""An example dispatcher which runs tasks in subprocesses
This class is an example of a dispatcher.
Note: This class is not for practical use as it doesn't limit the
number of subprocesses running concurrently.

def __init__(self, pipe=False):
self.running_procs = collections.deque()
self.pipe = pipe

0 comments on commit 9868660

Please sign in to comment.
You can’t perform that action at this time.