#closures #immediately #run #write #why #would #syntax

immediate_closure

lets you write a closure to be immediately run

1 unstable release

0.1.1 Jun 25, 2021
0.1.0 Jun 25, 2021

#7 in #immediately

34 downloads per month

MIT license

2KB

immediate_closure

not really sure why you would need/want this but this syntax:

CR!{ ... }

is cleaner than this:

(||{ ... })()

so here it is

No runtime deps