Home > @holochain/tryorama > Scenario > addPlayerWithApp
Create and add a single player with an app installed to the scenario.
Signature:
addPlayerWithApp(appBundleSource: AppBundleSource, options?: AppOptions): Promise<Player>;
Parameter |
Type |
Description |
---|---|---|
appBundleSource |
AppBundleSource |
The bundle or path to the bundle. |
options |
(Optional) AppOptions. |
Promise<Player>
A local player instance.