The OpenD Programming Language

Session.garbageCollect

Call this periodically to clean up old session files. The finalizer param can cancel the deletion of a file by returning false.

class Session
static
void
garbageCollect
(
bool delegate
(
string[string] data
)
finalizer = null
,
Duration maxAge = dur!"hours"(4)
)

Meta