transport_filter
Description:
Call func
for each transport managed by this.
The result value of func
determines what happens to the transport. func
will be called with
this locked so no further actions on this can be performed from func
.
If func
returns REMOVE, the
transport will be removed from this.
If func
returns KEEP, the
transport will remain in this.
If func
returns REF, the transport
will remain in this but will also be added with an additional ref to the result
List of this function..
When func
is null,
REF will be assumed for each transport.
Parameters:
this |
a Stream |
func |
a callback |
user_data |
user data passed to |
Returns:
a List with all transports for which |