pypeafowl.FlowInfo.getId

FlowInfo.getId(self: pypeafowl.FlowInfo) → int

Returns a unique identifier of the flow. If multithreaded version is used, id is per-thread unique, i.e. two different flows, managed by two different threads may have the same id. If multithreaded Peafowl is used, the unique identifier will be the pair <thread_id, id>

Returns:

The identifier of the flow.