Home > @holochain/tryorama > enableAndGetAgentApp
Enable an app and build an agent app object.
Signature:
enableAndGetAgentApp: (adminWs: IAdminWebsocket, appWs: IAppWebsocket, appInfo: AppInfo) => Promise<AgentApp>
Parameter |
Type |
Description |
---|---|---|
adminWs |
The admin websocket to use for admin requests. | |
appWs |
The app websocket to use for app requests. | |
appInfo |
AppInfo |
The app info of the app to enable. |
Promise<AgentApp>
An app agent object.