@nevware21/tripwire - v0.1.8
    Preparing search index...

    Function useHost

    Export the core functions (and global assert)

    • Uses the specified configuration host instance for the duration of the callback.

      Type Parameters

      • T

      Parameters

      • host: IConfigHost

        The configuration host instance to use.

      • cb: ConfigHostFunc<T>

        The callback function to execute with the specified host.

      Returns T

      The result of the callback function.

      0.2.0