function setSetting
setSetting(
key: string,
value: string,
): Promise<void>

Set a setting value. Invalidates the cache so the next read will pick up the new value.

Parameters

key: string
value: string

Return Type

Promise<void>

Usage

import { setSetting } from "doc.ts";