Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 999 Bytes

File metadata and controls

55 lines (27 loc) · 999 Bytes

Home > @holochain/tryorama > Scenario > addPlayerWithApp

Scenario.addPlayerWithApp() method

Create and add a single player with an app installed to the scenario.

This should not be called multiple times in parallel. Instead use addPlayersWithApps or addPlayersWithSameApp.

Signature:

addPlayerWithApp(appWithOptions: AppWithOptions): Promise<PlayerApp>;

Parameters

Parameter

Type

Description

appWithOptions

AppWithOptions

**Returns:**

Promise<PlayerApp>

A player with the installed app.