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