emulator.emulator.as
Home > @blaze-cardano/emulator > Emulator > as
Emulator.as() method
Signature:
as<T = void>(label: string, callback: (blaze: Blaze<Provider, Wallet>, address: Address) => Promise<T>): Promise<T>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
label |
string | |
|
callback |
(blaze: Blaze<Provider, Wallet>, address: Address) => Promise<T> |
Returns:
Promise<T>