vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function ConnectionPool.removeUnused

Removes all currently unlocked connections from the pool.

void removeUnused (
  scope nothrow @safe void delegate(Connection conn) disconnect_callback
);

Parameters

NameDescription
disconnect_callback Gets called for every removed connection to allow closing connections and freeing associated resources.
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.