Expand description
Thread pool for blocking operations
Structsยง
- Blocking
Pool ๐ - Inner ๐
- Shared ๐
- Spawner ๐
- Spawner
Metrics ๐ - Task ๐
Enumsยง
- Mandatory ๐
- Spawn
Error ๐
Constantsยง
- KEEP_
ALIVE ๐
Functionsยง
- spawn_
blocking ๐Runs the provided function on an executor dedicated to blocking operations. Tasks will be scheduled as non-mandatory, meaning they may not get executed in case of runtime shutdown. - Runs the provided function on an executor dedicated to blocking operations. Tasks will be scheduled as mandatory, meaning they are guaranteed to run unless a shutdown is already taking place. In case a shutdown is already taking place,
None
will be returned.