InvisibleWatermarkWorkerOptions
Defined in: invisible-watermark.ts:79
Browser-only dedicated Worker settings for CPU-intensive detection.
Properties
Section titled “Properties”onProgress?
Section titled “onProgress?”
optionalonProgress?: (progress) =>void
Defined in: invisible-watermark.ts:85
Coarse lifecycle updates. Exceptions thrown here are ignored.
Parameters
Section titled “Parameters”progress
Section titled “progress”InvisibleWatermarkWorkerProgressPhase
Returns
Section titled “Returns”void
scriptUrl
Section titled “scriptUrl”scriptUrl:
string
Defined in: invisible-watermark.ts:81
Trusted same-origin URL of the packaged invisible watermark worker.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: invisible-watermark.ts:83
Cancels the current detection and terminates its one-time Worker.