Liking cljdoc? Tell your friends :D

fierycod.holy-lambda.core


callclj

(call afn-sym)
(call afn-sym event context)
(call afn-sym input output context)

Resolves the lambda function and calls it with the event and context. Returns the callable lambda function if only one argument is passed.

Resolves the lambda function and calls it with the event and context.
Returns the callable lambda function if only one argument is passed.
sourceraw docstring

deflambdacljmacro

(deflambda name doc-string? attrs-map? [event context] prepost-map? fn-body)
(deflambda name
           doc-string?
           attrs-map?
           [input output context]
           prepost-map?
           fn-body)

Similiar to defn, with the limitation that it only allows the 2 arity definition. Defined Lambda is safe to use either in Java Runtime or with the Custom Runtime alongside this library.

Similiar to `defn`, with the limitation that it only allows the
2 arity definition. Defined Lambda is safe to use either in Java Runtime or
with the Custom Runtime alongside this library.
sourceraw docstring

errorclj

(error & vs)
source

gen-maincljmacro

(gen-main lambdas)

Generates the main function. The -main is then used by AWS to run Custom runtime which then proxies function names to corresponding handler

Generates the main function. The `-main` is then used by AWS to run Custom runtime
which then proxies function names to corresponding handler 
sourceraw docstring

infoclj

(info & vs)
source

logclj

(log & vs)
source

warnclj

(warn & vs)
source

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

× close