#defer #scope #execution #macro #exited

go-defer

defer! execution until the current scope is exited

1 unstable release

0.1.0 Apr 23, 2023

#17 in #defer

Download history 33/week @ 2023-12-25 7/week @ 2024-01-22 13/week @ 2024-02-05 10/week @ 2024-02-19 45/week @ 2024-02-26 10/week @ 2024-03-04 83/week @ 2024-03-11 20/week @ 2024-03-18 48/week @ 2024-03-25 76/week @ 2024-04-01

228 downloads per month

Apache-2.0

5KB
80 lines

Contains the crate::defer! macro for deferring the execution of code until the current scope is dropped. This helps with always executing cleanup code.

No runtime deps