util.transferableAbortController()
稳定性: 1 - 实验
创建并返回一个 <AbortController> 实例,其 <AbortSignal> 被标记为可转让,可与 structuredClone()
或 postMessage()
一起使用。
Stability: 1 - Experimental
Creates and returns an <AbortController> instance whose <AbortSignal> is marked
as transferable and can be used with structuredClone()
or postMessage()
.