Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Class ActiveEffectRegistry

    A singleton helper class that tracks the duration and expiry of ActiveEffects

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Internal

      Populate the registry for the first time.

      Returns void

    • Refresh the durations of registered ActiveEffects and perform the configured action for expired effects.

      Parameters

      • event: string

        The expiry or other event that triggered this call

      • Optionalcontext: object

        Additional contextual data relevant to the event

      Returns Promise<void>