Skip to content

Add an engine

The steps to add an execution engine for a new code format. What an engine implements is in Engine System.

  1. Implement IEngine (in Virtufin.WorkManager.Engines) in a new Virtufin.WorkManager.Engine.* project.
  2. Add a WorkerRuntimeActorBase<TEngine> subclass with its own [DaprActor] type name in Virtufin.WorkManager.Runtime/Actors.
  3. Add the mime type to WorkerMimeTypes (Virtufin.WorkManager.Client) and map it to that actor type in RuntimeActorTypeNames (Virtufin.WorkManager.Shared).
  4. Optionally, an IWorkerLoader in Virtufin.WorkManager.Engines.Local so the format also runs under a LocalWorkManager.