Indicates that a closure has entered self, and increments the current count of outstanding tasks. Returns a `GroupGuard` that should be dropped when the closure leaves self, decrementing the count.
(&self)
| 26 | /// count of outstanding tasks. Returns a `GroupGuard` that should be |
| 27 | /// dropped when the closure leaves self, decrementing the count. |
| 28 | pub fn enter(&self) -> GroupGuard { |
| 29 | GroupGuard::new(self) |
| 30 | } |
| 31 | |
| 32 | /// Submits a closure asynchronously to the given `Queue` and associates it |
| 33 | /// with self. |
no outgoing calls