configureClientLanguages function

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

function configureClientLanguages(options: ClientLanguagesOptions): () => void;

Configures what the current instance (the page, outside RunicInstance.run) reports in hello for client-languages/1. Call it before the page connects, in main.ts; a later hello, such as after a reconnect, uses the new value. Returns a function that restores the previous configuration.

configureClientLanguages({ send: false });