Interface Zapable

An interface for data exchange through Zap.

The data objects exchanged via Zap MUST implement this interface. If an object can be transmitted through Zap, it can be referred to as “Zapable”.

Hierarchy

  • Zapable

Implemented by

Properties

Methods

Properties

resource: ZapResource

A resource type of the object.

Methods

  • Convert Zapable to ZapPayload and return it.

    Returns Buffer

Generated using TypeDoc