GetAvailablePathForAttachmentsExtendedFnParams.readAttachmentFileContent
GetAvailablePathForAttachmentsExtendedFnParams › readAttachmentFileContent
Type: (() => Promise<ArrayBuffer>) | null
Lazily reads the content of the attachment file.The content is read on demand only when a consumer actually needs the bytes (e.g. a template token that embeds them). For the default templates nothing pulls the bytes, so the potentially expensive (size-proportional)
readBinary never runs. Consumers that may call this more than once should memoize the first call. null when there is no attachment file to read.