Home > @holochain/tryorama > Scenario > addPlayersWithApps
Create and add multiple players to the scenario, with an app installed for each player.
Signature:
addPlayersWithApps(playersApps: Array<{
appBundleSource: AppBundleSource;
options?: AppOptions;
}>): Promise<Player[]>;
Parameter |
Type |
Description |
---|---|---|
playersApps |
Array<{ appBundleSource: AppBundleSource; options?: AppOptions; }> |
An array with an app for each player. |
Promise<Player[]>
All created players.