Declaration

func withInterfaceUpdatesDisabled<E, T>(_ body: () throws(E) -> T) throws(E) -> T where E : Error

Parameters

body

The work to perform.

Return Value

The value returned by the body.

Discussion

Deferred updates are processed when the body returns or throws. Updates remain disabled when they were already disabled on entry.

See Also

Interface Updates