Constructors

  • The cache is ALWAYS initialized with HotMeshSettings. The other parameters are optional.

    Parameters

    • appId: string
    • settings: HotMeshSettings
    • apps: Record<string, HotMeshApp> = {}
    • schemas: Record<string, ActivityType> = {}
    • subscriptions: Record<string, Record<string, string>> = {}
    • symbols: Record<string, Symbols> = {}
    • symvals: Record<string, Symbols> = {}
    • transitions: Record<string, Record<string, unknown>> = {}
    • hookRules: Record<string, Record<string, HookRule[]>> = {}
    • workItems: Record<string, string> = {}

    Returns Cache

Properties

appId: string
apps: Record<string, HotMeshApp>
hookRules: Record<string, Record<string, HookRule[]>>
schemas: Record<string, ActivityType>
settings: HotMeshSettings
subscriptions: Record<string, Record<string, string>>
symbols: Record<string, Symbols>
symvals: Record<string, Symbols>
transitions: Record<string, Record<string, unknown>>
workItems: Record<string, string>

Methods

  • Parameters

    • appId: string
    • targetEntityId: string

    Returns void

  • Parameters

    • appId: string
    • version: string

    Returns Record<string, unknown>

  • Parameters

    • appId: string
    • version: string
    • topic: string

    Returns unknown

  • Parameters

    • appId: string
    • version: string

    Returns Record<string, string>

  • Parameters

    • appId: string
    • version: string

    Returns Record<string, unknown>

  • Parameters

    • appId: string
    • version: string
    • subscriptions: Record<string, string>

    Returns void