CrossClj

0.1.7 docs

SourceDocs



RECENT
    VARS
    ->ms
    config->flow
    config-seq->blocks
    flow
    get-target-length
    has-lead-up?
    sans-lead-up

    « Index of all namespaces of this project

    (->ms d unit)
    (config->flow ???)(config->flow ???)
    Converts from workflow config format to the flow seq accepted by
    the flow.core/flow function. The config format is nicer for humans
    because it's less repetitive and more declarative, while the proper
    execution works better with a more procedural structure. See the
    README for example config data and what flow structures they
    produce.
    (config-seq->blocks ???)(config-seq->blocks ???)(config-seq->blocks ???)(config-seq->blocks ???)(config-seq->blocks label block-seq & args)
    Expands a config-seq into a sequence of blocks, which will all have
    the same properties except for possibly different durations as
    dictated by the block-seq (e.g. "[1 3 8 10 :min]") embedded in the
    config-seq. Takes a create-action function which should return a
    function to be executed at each block's start; a target-length which
    will inform how many nil-blocks to pad at the end of the returned
    sequence (used to generate equal-length sequences for later
    interleaving); a lead-up-length which informs if we should add lead
    up nil-block padding (when the block-seq starts with ":..") and
    how much; and finally the config-seq itself.
    (flow now & then)(flow ???)(flow ???)
    Starts a workflow, and expects a flow seq as a minimum argument.
    Returns a channel which will output each workflow event as it
    happens (like the change of a block.)
    (get-target-length block-seqs)
    Gets the biggest length of blocks (durations) among a group of
    block-seqs.
    (has-lead-up? block-seq)
    (sans-lead-up ???)(sans-lead-up ???)