Helic.Data.Event
Description
Event Data Type
data Event Source #
The central data type representing a clipboard event.
Constructors
Fields
The host from which the event originated.
The entity that caused the event.
Timestamp.
Payload.
Defined in Helic.Data.Event
Methods
(==) :: Event -> Event -> Bool #
(/=) :: Event -> Event -> Bool #
showsPrec :: Int -> Event -> ShowS #
show :: Event -> String #
showList :: [Event] -> ShowS #
toJSON :: Event -> Value #
toEncoding :: Event -> Encoding #
toJSONList :: [Event] -> Value #
toEncodingList :: [Event] -> Encoding #
parseJSON :: Value -> Parser Event #
parseJSONList :: Value -> Parser [Event] #
now :: Members [ChronosTime, Reader InstanceName] r => AgentId -> Text -> Sem r Event Source #
Construct an event for the current host and time.