class Close

Defined at line 1230 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/markers.h

Request graceful or immediate teardown of the Frame content and notification of completion

via Frame epitaph.

Graceful teardown allows unload and cleanup tasks in the implementation and web content

(e.g., `unload` event handlers) to run for up to the specified period of time. Immediate

teardown only runs the minimum cleanup tasks in the implementation and does not allow web

content to run event handlers.

* If `timeout` is zero, an immediate teardown is initiated. The channel will close with

`ZX_OK`. This is equivalent to the caller closing the Frame channel.

* If `timeout` is non-zero, a graceful teardown is initiated. The channel will close with

`ZX_OK` if the Frame closes within the specified `timeout` and with `ZX_ERR_TIMED_OUT`

otherwise.

* If `timeout` is not specified, a reasonable implementation-specific timeout is applied.

Subsequent calls to `Close()` will override any previously specified `Close()` timeout.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal