QueueServerOptions
Parameters and properties
Section titled “Parameters and properties”queueRequiredTaskQueueQueue served over HTTP; closing the server leaves it open.tokenRequiredstring | (() => readonly string[] | Promise<readonly string[]>)Accepted bearer token of 32 to 512 non-whitespace characters, or a function returning the accepted tokens, called on every request. Return the old and new tokens together during a rotation; an empty list or a thrown error rejects every request.hostOptionalstring | undefinedBind address, default 127.0.0.1.portOptionalnumber | undefinedTCP port, default 0: the system picks a free port, shown in url.