Skip to content
  • Bastian Köcher's avatar
    Expose that `BasicQueue` expects blocking spawn (#5860) · 9c5536e0
    Bastian Köcher authored
    * Expose that `BasicQueue` expects blocking spawn
    
    Up to now `BasicQueue` expected a closure that to spawn a `Future`.
    This was expected to be a closure that spawns a blocking future.
    However, this wasn't documented anywhere. This pr introduces a new trait
    `SpawnBlocking` that exposes this requirement to the outside.
    
    * Feedback
    9c5536e0