ProtoTwin API
    Preparing search index...

    Function value

    • Creates a future that is resolved once the signal's value is equal to the specified value.

      Type Parameters

      • T

      Parameters

      • signal: IReadable<T>

        The signal.

      • value: T

        The value to wait for.

      Returns Future<T>

      The future that is resolved once the values are exactly equal.