Skip to content
Performance·Intermediate·Conceptual·1 min read

What are transferable objects?

Short interview answer

Transferable resources such as ArrayBuffer can move ownership between contexts without copying their underlying data. After transfer, the sender's buffer is detached. This is valuable for large binary workloads.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Web Workers and the main thread

Related questions