ICondition | Matterport SDK
Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

An observer-like object that describes a condition to wait for on an IObservable

The object-oriented version of the ConditionCallback

Type parameters

  • DataT

    The type of the data to check conditions on.

Hierarchy

  • ICondition

Index

Methods

Methods

waitUntil

  • waitUntil(data: DataT): boolean
  • Called when the data in the IObservable has changed. Returning true will resolve the promise returned by IObservable.waitUntil

    Parameters

    • data: DataT

    Returns boolean