Skip to content

Latest commit

 

History

History
87 lines (41 loc) · 1.12 KB

tryorama.enableandgetagentapp.md

File metadata and controls

87 lines (41 loc) · 1.12 KB

Home > @holochain/tryorama > enableAndGetAgentApp

enableAndGetAgentApp() function

Enable an app and build an agent app object.

Signature:

enableAndGetAgentApp: (adminWs: IAdminWebsocket, appWs: IAppWebsocket, appInfo: AppInfo) => Promise<AgentApp>

Parameters

Parameter

Type

Description

adminWs

IAdminWebsocket

The admin websocket to use for admin requests.

appWs

IAppWebsocket

The app websocket to use for app requests.

appInfo

AppInfo

The app info of the app to enable.

**Returns:**

Promise<AgentApp>

An app agent object.