From 6eaec7d6a6077f1fb3d9461ab5f9914494169a0a Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 19 Oct 2023 22:56:11 -0700 Subject: [PATCH] Input::Mailbox --- src/worker.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/worker.rs b/src/worker.rs index 8130c03..8dab534 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -21,6 +21,8 @@ enum Input{ //worker stops querying when Query function returns None and dies after all threads complete //lifetimes sound crazy on this one Query, + //Queue of length one, the input is replaced if it is submitted twice before the current work finishes + Mailbox, } //WorkerOutput enum Output{