worker: Add task runner machinery
Created by: efritz
This PR adds the machinery to register and run tasks in a worker instance. Fixes https://github.com/sourcegraph/sourcegraph/issues/21758.
Created by: efritz
This PR adds the machinery to register and run tasks in a worker instance. Fixes https://github.com/sourcegraph/sourcegraph/issues/21758.