• Internal method used to cache computed values on events

    Type Parameters

    • T extends unknown

    Parameters

    • event: Event | EventTemplate
    • symbol: symbol
    • compute: ((event: Event | EventTemplate) => T)
        • (event): T
        • Parameters

          • event: Event | EventTemplate

          Returns T

    Returns T