Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Add Promise return option to IAppHost.init() #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/AppHost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export interface IAppHost {
/**
* Returns basic info about the app
*
* _Called once startup_
* _Called once on startup_
*/
init(): IAppInfo;
init(): IAppInfo | Promise<IAppInfo>;

/**
* A unique and persistent device identifier
Expand Down