feat: Add in some helpers for the properties

This commit is contained in:
BluJ
2023-04-12 14:04:24 -06:00
parent cf12697f22
commit 556b1b03f1
12 changed files with 672 additions and 334 deletions

View File

@@ -22,7 +22,10 @@ export { Daemons } from "./Daemons";
* @returns
*/
export const runningMain: (
fn: (o: { effects: Effects; started(onTerm: () => void): null }) => Promise<Daemons<any>>
fn: (o: {
effects: Effects;
started(onTerm: () => void): null;
}) => Promise<Daemons<any>>
) => ExpectedExports.main = (fn) => {
return async (options) => {
const result = await fn(options);