class documentation
class _BoundedVisitorFunctions(VisitorFunctions): (source)
Constructor: _BoundedVisitorFunctions(inner, sem)
Wraps VisitorFunctions to cap concurrent payload visits via a semaphore.
After the full traversal, call drain() to await all in-flight tasks.
| Method | __init__ |
Undocumented |
| Async Method | drain |
Wait for all in-flight background tasks to complete. |
| Async Method | visit |
Called when encountering a single payload. |
| Async Method | visit |
Called when encountering multiple payloads together. |
| Instance Variable | _inner |
Undocumented |
| Instance Variable | _sem |
Undocumented |
| Instance Variable | _tasks |
Undocumented |