in src/core/Primitive.hack [27:37]
final public async function toStringAsync(): Awaitable<string> {
if ($this->__isRendered) {
throw new UseAfterRenderException(
'Attempted to render XHP element twice',
);
}
$that = await $this->__flushSubtree();
$result = await $that->stringifyAsync();
$this->__isRendered = true;
return $result;
}