Method Stdio.FakeFile()->set_close_callback() Method set_close_callback void set_close_callback(function(:void) cb) See also Stdio.File()->set_close_callback