Writable interface for both updating and subscribing. See the main SvelteStore article on how to use it in Micrio.

Type Parameters

  • T

Hierarchy

Methods

Methods

  • Set value and inform subscribers.

    Parameters

    • this: void
    • value: T

      to set

    Returns void

  • Update value using callback and inform subscribers.

    Parameters

    • this: void
    • updater: Updater<T>

      callback

    Returns void

Generated using TypeDoc