createViewController function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function createViewController<TClient extends ViewClient>(options?: ViewControllerOptions<TClient>): ViewController<TClient> & Disposable;

Creates the framework-neutral controller behind useView and injectView. A using declaration disposes it where the engine has Symbol.dispose.