Skip to main content

createEmptyApp

Callable

  • createEmptyApp(__namedParameters: IEmptyAppOptions): { context: IComponentContext; destroy: () => void; pause: () => void; play: () => void; wrapContext: <T, U>(x: (...args: T) => U) => (...args: T) => U; paused: any }

  • This function will create an app ONLY FOR DEBUG PURPOSE, and can’t be connected to any type of application.


    Parameters

    Returns { context: IComponentContext; destroy: () => void; pause: () => void; play: () => void; wrapContext: <T, U>(x: (...args: T) => U) => (...args: T) => U; paused: any }

    • context: IComponentContext
    • destroy: () => void
        • (): void
        • Returns void

    • pause: () => void
        • (): void
        • Returns void

    • play: () => void
        • (): void
        • Returns void

    • wrapContext: <T, U>(x: (...args: T) => U) => (...args: T) => U
        • <T, U>(x: (...args: T) => U): (...args: T) => U
        • Type parameters

          • T: unknown[]
          • U

          Parameters

          • x: (...args: T) => U

          Returns (...args: T) => U

            • (...args: T): U
            • Parameters

              • rest...args: T

              Returns U

    • get paused(): boolean