Skip to content

PURISTA API


PURISTA API / @purista/amqpbridge / EncoderFunctions

Type Alias: EncoderFunctions

EncoderFunctions = object

Defined in: amqpbridge/src/types/EncoderFunctions.ts:1

Properties

decode()

decode: <T>(input) => Promise<T>

Defined in: amqpbridge/src/types/EncoderFunctions.ts:3

Type Parameters

T

T

Parameters

input

Buffer

Returns

Promise<T>


encode()

encode: <T>(input) => Promise<Buffer>

Defined in: amqpbridge/src/types/EncoderFunctions.ts:2

Type Parameters

T

T

Parameters

input

T

Returns

Promise<Buffer>