method StartupSnapshot.addSerializeCallback
Jump to headingStartupSnapshot.addSerializeCallback(callback: StartupSnapshotCallbackFn,data?: any,): voidAdd a callback that will be called when the Node.js instance is about to get serialized into a snapshot and exit. This can be used to release resources that should not or cannot be serialized or to convert user data into a form more suitable for serialization.
Parameters Jump to heading
Jump to headingcallback: StartupSnapshotCallbackFnoptional
Jump to headingdata: anyReturn Type Jump to heading
void