可选storage: StorageProviderInitialize the manager. This method is idempotent. If already initialized, returns immediately. If initialization is in progress, waits for it to complete.
Check if the manager has been initialized.
Wait for the manager to be ready. Automatically calls initialize() if not already initialized.
受保护doSubclasses must implement this method to perform actual initialization. This method is called exactly once, when initialize() is first called.
可选runId: string可选runId: string可选olderThan: number可选runId: string可选runId: string可选runId: string
Abstract base class for managers that require asynchronous initialization. Extends EventEmitter to allow managers to emit events.
示例