Skip to content

Latest commit

 

History

History
71 lines (34 loc) · 1.04 KB

tryorama.scenario.addplayerwithapp.md

File metadata and controls

71 lines (34 loc) · 1.04 KB

Home > @holochain/tryorama > Scenario > addPlayerWithApp

Scenario.addPlayerWithApp() method

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

Signature:

addPlayerWithApp(appBundleSource: AppBundleSource, options?: AppOptions): Promise<Player>;

Parameters

Parameter

Type

Description

appBundleSource

AppBundleSource

The bundle or path to the bundle.

options

AppOptions

(Optional) AppOptions.

**Returns:**

Promise<Player>

A local player instance.