Skip to main content

Module worker

Module worker 

Source
Expand description

The workers (doc 34, section 4): taba-client is blocking, so the calls update asks for run on a few threads and come back as a Msg::Reply marked with the request and the generation they were asked in.

Structs§

SwitchBackend
A backend that can be replaced while the workers run: choosing another profile points every later call at the new server.
Workers

Constants§

THREADS
How many calls can be in flight at once.

Traits§

Backend
What a worker calls. The real one is the Client; the tests give a scripted one.