Skip to main content
Skip to main content

internal

admin/discounts.internal.internal

Functions

arrayBuffer

arrayBuffer(stream): Promise<ArrayBuffer>

Parameters

streamReadableStream | Readable | AsyncIterator<any, any, undefined>Required

Returns

Promise<ArrayBuffer>

PromisePromise<ArrayBuffer>Required

blob

blob(stream): Promise<Blob>

Parameters

streamReadableStream | Readable | AsyncIterator<any, any, undefined>Required

Returns

Promise<Blob>

PromisePromise<Blob>Required

buffer

buffer(stream): Promise<Buffer>

Parameters

streamReadableStream | Readable | AsyncIterator<any, any, undefined>Required

Returns

Promise<Buffer>

PromisePromise<Buffer>Required

json

json(stream): Promise<unknown>

Parameters

streamReadableStream | Readable | AsyncIterator<any, any, undefined>Required

Returns

Promise<unknown>

PromisePromise<unknown>Required

text

text(stream): Promise<string>

Parameters

streamReadableStream | Readable | AsyncIterator<any, any, undefined>Required

Returns

Promise<string>

PromisePromise<string>Required
Was this section helpful?