Home > @holochain/tryorama > getZomeCaller
Get a shorthand function to call a cell's zome.
Signature:
getZomeCaller: (cell: CallableCell, zomeName: string) => <T>(fnName: string, payload?: unknown, timeout?: number) => Promise<T>
Parameter |
Type |
Description |
---|---|---|
cell |
The cell to call the zome on. | |
zomeName |
string |
The name of the Zome to call. |
<T>(fnName: string, payload?: unknown, timeout?: number) => Promise<T>
A function to call the specified Zome.