Handbook
Glossary
Using destructors
Factor handbook
»
The language
»
Deterministic resource disposal
Next:
Writing new destructors
Disposing of an object:
dispose
( disposable -- )
Utility word for scoped disposal:
with-disposal
( object quot -- )
Utility word for disposing multiple objects:
dispose-each
( seq -- )
Utility words for more complex disposal patterns:
with-destructors
( quot -- )
&dispose
( disposable -- disposable )
|dispose
( disposable -- disposable )