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