protected async function stringifyAsync()

in src/html/element.hack [184:193]


  protected async function stringifyAsync(): Awaitable<string> {
    $buf = $this->renderBaseAttrs().'>';
    $buf .= await Vec\map_async(
      $this->getChildren(),
      async $child ==> await self::renderChildAsync($child),
    )
      |> Str\join($$, '');
    $buf .= '</'.$this->tagName.'>';
    return $buf;
  }