@php-wasm/web
Index
Classes
Functions
Interfaces
References
Type Aliases
References
WithAPIState
Renames and re-exports WithIsReady
Type Aliases
PublicAPI
Type parameters
- Methods
- PipedAPI = unknown
RemoteAPI
Type parameters
- T
WithIsReady
Type declaration
isConnected: () => Promise<void>
Returns Promise<void>
isReady: () => Promise<void>
Resolves to true when the remote API is declares it’s fully loaded and ready to be used.
Returns Promise<void>
Resolves to true when the remote API is ready for Comlink communication, but not necessarily fully initialized yet.