destructors vocabulary
Factor handbook ยป Vocabulary index


Documentation
Deterministic resource disposal

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
already-disposed tupledisposable
already-unregistered tupledisposable
disposable identity-tupledisposed continuation


Generic words
WordStack effect
dispose( disposable -- )
dispose*( disposable -- )


Symbol words
debug-leaks?
disposables


Ordinary words
WordStack effect
&dispose( disposable -- disposable )
already-disposed( disposable -- * )
already-unregistered( disposable -- * )
check-disposed( disposable -- disposable )
dispose-each( seq -- )
dispose-to( obj accum -- )
if-disposed( ..a disposable quot1: ( ..a -- ..b ) quot2: ( ..a disposable -- ..b ) -- ..b )
new-disposable( class -- disposable )
unless-disposed( ... disposable quot: ( ... disposable -- ... ) -- ... )
when-disposed( ..a disposable quot1: ( ..a -- ..b ) quot2: ( ..a disposable -- ..b ) -- ..b )
with-destructors( quot -- )
with-disposal( object quot -- )
|dispose( disposable -- disposable )


Class predicate words
WordStack effect
already-disposed?( object -- ? )
already-unregistered?( object -- ? )
disposable?( object -- ? )


Files


Metadata files