(run-sync token base-url timeout f)
Takes a token, base-url to the matrix server, timout in milliseconds, and a function to run on every stream returned from sync, (which takes a token, base-url and the stream map). Gets initial sync, calls the main loop, and does not exit.
Takes a token, base-url to the matrix server, timout in milliseconds, and a function to run on every stream returned from sync, (which takes a token, base-url and the stream map). Gets initial sync, calls the main loop, and does not exit.
(run-sync* token base-url timeout initial-sync f)
Takes a token, base-url to the matrix server, timout in milliseconds, an initial sync timestamp in matrix format, and a function to run on every stream returned from sync, which takes a token, base-url and the stream map. This is essentially the main loop, does not exit.
Takes a token, base-url to the matrix server, timout in milliseconds, an initial sync timestamp in matrix format, and a function to run on every stream returned from sync, which takes a token, base-url and the stream map. This is essentially the main loop, does not exit.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close