diff options
Diffstat (limited to 'core/api.ts')
-rw-r--r-- | core/api.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/api.ts b/core/api.ts index 0891081..017e131 100644 --- a/core/api.ts +++ b/core/api.ts @@ -7,8 +7,8 @@ import { ParseResult } from "../language/types.ts"; * swapped easily. */ export default abstract class API { - /** @summary prepare API client */ - abstract prepare(): Promise<void>; + /** @summary resolved when ready */ + abstract ready: Promise<void>; /** @summary parse sentence */ abstract parseSentence(input: string): Promise<ParseResult>; |