mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 04:11:57 +00:00
beta4
This commit is contained in:
@@ -21,7 +21,7 @@ import { SDKManifest } from "../manifest/ManifestTypes"
|
||||
export const setupMain = <Manifest extends SDKManifest, Store>(
|
||||
fn: (o: {
|
||||
effects: Effects
|
||||
started(onTerm: () => void): null
|
||||
started(onTerm: () => PromiseLike<void>): PromiseLike<void>
|
||||
utils: Utils<Manifest, Store, {}>
|
||||
}) => Promise<Daemons<Manifest, any>>,
|
||||
): ExpectedExports.main => {
|
||||
@@ -30,6 +30,6 @@ export const setupMain = <Manifest extends SDKManifest, Store>(
|
||||
...options,
|
||||
utils: createMainUtils<Manifest, Store>(options.effects),
|
||||
})
|
||||
await result.build().then((x) => x.wait())
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user