Skip to content

Latest commit

 

History

History
71 lines (34 loc) · 1006 Bytes

tryorama.getzomecaller.md

File metadata and controls

71 lines (34 loc) · 1006 Bytes

Home > @holochain/tryorama > getZomeCaller

getZomeCaller() function

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>

Parameters

Parameter

Type

Description

cell

CallableCell

The cell to call the zome on.

zomeName

string

The name of the Zome to call.

**Returns:**

<T>(fnName: string, payload?: unknown, timeout?: number) => Promise<T>

A function to call the specified Zome.