Skip to content
Apexify.jsDocs
Apexify.js version v5.4.5

ApexPainter member

ApexPainter.chain

Published ApexPainter.chain method.

apexify.jsCURRENTnode22node24node26
Source: lib-next/apex-painter/main.ts (opens in a new tab)

Signature

TypeScript
(operations: ChainOperation[], opts?: BatchChainAssetOpts) => Promise<Buffer>

Parameters

operations

ChainOperation[]

Options

OptionTypeContractAllowed valuesRuntime & capabilities
operations
operations.argsPublished operations.args option.unknown[]RequiredDefaultRequired—node22 · node24 · node26
operations.methodPublished operations.method option.stringRequiredDefaultRequired—node22 · node24 · node26
opts
opts.concurrencyPer-call concurrency, capped by runtime `limits.maxBatchConcurrency`.numberOptionalDefault——node22 · node24 · node26
opts.resolvePublished opts.resolve option.AssetResolveFnOptionalDefault——node22 · node24 · node26
opts.resolveAssetRefsPublished opts.resolveAssetRefs option.booleanOptionalDefault—false truenode22 · node24 · node26
opts.signalAbort stops scheduling new batch work and prevents later chain steps.AbortSignalOptionalDefault——node22 · node24 · node26

Published operations.args option.

Type
unknown[]
Default
Required
Allowed
—
Runtime
node22, node24, node26

Published operations.method option.

Type
string
Default
Required
Allowed
—
Runtime
node22, node24, node26

Per-call concurrency, capped by runtime `limits.maxBatchConcurrency`.

Type
number
Default
—
Allowed
—
Runtime
node22, node24, node26

opts.resolve

Optional

Published opts.resolve option.

Type
AssetResolveFn
Default
—
Allowed
—
Runtime
node22, node24, node26

Published opts.resolveAssetRefs option.

Type
boolean
Default
—
Allowed
false true
Runtime
node22, node24, node26

opts.signal

Optional

Abort stops scheduling new batch work and prevents later chain steps.

Type
AbortSignal
Default
—
Allowed
—
Runtime
node22, node24, node26

Types

ChainOperation[]
  • variant 1
    ChainOperation: ChainOperation
    • methodstring
    • args
      unknown[]
      • variant 1unknown
BatchChainAssetOpts: BatchChainAssetOpts
  • resolveAssetRefs?boolean
  • resolve?AssetResolveFn
  • concurrency?number
  • signal?AbortSignal

Return value

Promise<Buffer<ArrayBufferLike>>

The return contract is generated from the packed declaration. Async wrappers and nullable/undefined variants remain visible in the type model.

Errors

NOT APPLICABLE — no verified errors are bound to this API.

Limits

NOT APPLICABLE — no API-specific verified limits are bound to this API.

Related APIs

No explicit related API metadata.

Next steps