#closures #run #write #immediately #syntax #sure #would

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

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