Hierarchy

  • AsyncOptionalCreatable
    • StateAggregator

Constructors

  • Constructs a new AsyncCreatable instance. For internal and subclass use only. New subclass instances must be created with the static create method.

    Parameters

    • Optional options: object

      An options object providing initialization params.

    Returns StateAggregator

Properties

aliases: AliasAccessor
sandboxes: SandboxAccessor

Methods

  • Clear the cache to force reading from disk.

    NOTE: Only call this method if you must and you know what you are doing. NOTE: This call is NOT thread-safe, so it should only be called when no other threads are using the StateAggregator.

    Parameters

    • path: string = Global.DIR

    Returns void

  • Clear the cache to force reading from disk in a thread-safe manner.

    NOTE: Only call this method if you must and you know what you are doing.

    Parameters

    • path: string = Global.DIR

    Returns Promise<void>