themeparks - v7.0.0
    Preparing search index...

    Class EntityHandle

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: string
    schedule: ScheduleApi

    Methods

    • Yield every descendant of this entity in a single API call.

      The ThemeParks API's /children endpoint returns the entire subtree in one response — this method just exposes it as an async iterator so callers can for await without flattening themselves. The root entity itself is not yielded. When the entity has no children (or the response omits the children array) the iterator completes without yielding.

      Returns AsyncIterable<{}>