Home > @holochain/tryorama > Scenario > addPlayerWithApp
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>;|
Parameter |
Type |
Description |
|---|---|---|
|
appWithOptions |
Promise<PlayerApp>
A player with the installed app.