Liking cljdoc? Tell your friends :D

active.events.core


add-events!clj

(add-events! src events)

Add all the given events to src.

Add all the given events to `src`.
sourceraw docstring

Eventclj

source

eventclj

(event time value)

Construct a Event record.

time: access via active.events.core/event-time value: access via active.events.core/event-value

Construct a `Event` record.

`time`: access via [[active.events.core/event-time]]
`value`: access via [[active.events.core/event-value]]
sourceraw docstring

Event-rtd-gensym-3462clj

record-type-descriptor for type Event

record-type-descriptor for type Event
sourceraw docstring

event-timeclj

(event-time Event)

Lens for the time field from a Event record. See active.events.core/event.

Lens for the `time` field from a [[Event]] record. See [[active.events.core/event]].
sourceraw docstring

event-valueclj

(event-value Event)

Lens for the value field from a Event record. See active.events.core/event.

Lens for the `value` field from a [[Event]] record. See [[active.events.core/event]].
sourceraw docstring

event?clj

(event? thing)

Is object a Event record? See active.events.core/event.

Is object a `Event` record? See [[active.events.core/event]].
sourceraw docstring

EventSourcecljprotocol

-add-events!clj

(-add-events! this events)

Add a sequence of events to this event source.

Add a sequence of events to this event source.

-get-eventsclj

(-get-events this)

Get a reducible collection (IReduceInit) of all events of this event source.

Get a reducible collection (IReduceInit) of all events of this event source.
source

filtered-event-sourceclj

(filtered-event-source src pred)

Returns a new event source, that contains only the events from src that match pred. The predicate must also hold for events added it.

Returns a new event source, that contains only the events from `src`
that match `pred`. The predicate must also hold for events added
it.
sourceraw docstring

FilteredEventSourceclj

source

MapValuesEventSourceclj

source

MemoryEventSourceclj

source

new-memory-event-sourceclj

(new-memory-event-source)

Returns a new event source that holds events in an atom.

Returns a new event source that holds events in an atom.
sourceraw docstring

reduce-eventsclj

(reduce-events src f)
(reduce-events src f init)

Retrieve all events from src and reduce them into a different form.

Retrieve all events from `src` and reduce them into a different form.
sourceraw docstring

static-event-sourceclj

(static-event-source events)

Returns an event source that contains just the given events. Adding events to it throws an exception.

Returns an event source that contains just the given events. Adding
events to it throws an exception.
sourceraw docstring

StaticEventSourceclj

source

timeclj

source

valueclj

source

xmap-event-valueclj

(xmap-event-value src in out)

Returns a new event source that maps in over the event before adding them to src and maps out over the events retrieved from src.

Returns a new event source that maps `in` over the event before
adding them to `src` and maps `out` over the events retrieved from
`src`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close