AsyncContent

An element that awaits its content before rendering.

AsyncContent.swift:5
struct AsyncContent<Content> where Content : HTML

The this element can only be rendered in an async context (ie: by calling render(into:chunkSize:) or renderAsync). All HTML tag types (HTMLElement) support async content closures in their initializers, so you don’t need to use this element directly in most cases.