[−][src]Function background_jobs::create_server
pub fn create_server<S>(storage: S) -> QueueHandle where
S: Storage + Sync + 'static,
Create a new Server
In previous versions of this library, the server itself was run on it's own dedicated threads and guarded access to jobs via messages. Since we now have futures-aware synchronization primitives, the Server has become an object that gets shared between client threads.
This method should only be called once.