import { type types } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.9-alpha2/mod.ts";
const { action } = types.ExpectedExports;
Actions are used so we can effect the service, like deleting a directory. One old use case is to add a action where we add a file, that will then be run during the service starting, and that file would indicate that it would rescan all the data.
definition: { [id: string]: (effects: Effects, config?: Config) => Promise<ResultType<ActionResult>>; }