Skip to content
Logo

rollup.close

Releases the rollup device. After closing, every method on the instance throws; create a new Rollup to start again.

Because the device is exclusive (one open instance at a time), close is what lets a process — typically a test suite — open the device more than once.

Usage

const  = new ();
// ... use it ...
.();
 
const  = new (); // would throw -EBUSY without the close() above

Returns

void

Errors

ConditionError
Methods called after closeError