struct Components::Cache::InvalidationEvent

Overview

Event that triggers cache invalidation

Defined in:

components/cache/invalidation_strategies.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Symbol, data : Hash(String, JSON::Any) = {} of String => JSON::Any) #

[View source]

Instance Method Detail

def data : Hash(String, JSON::Any) #

[View source]
def timestamp : Time #

[View source]
def type : Symbol #

[View source]