Optionalargs: any[]Converts the SerializableCallback to a JSON object.
the SerializableCallback as a JSON object if serializable
Converts the SerializableCallback to a string representing its source code.
the source code of the function as a string if serializable, otherwise 'function [not serializable]'
Staticfromthe source function to create a SerializableCallback from
OptionalshouldSerialize: booleanwhether the function should be serialized or not
a new SerializableCallback instance
StaticfromCreates a new SerializableCallback instance from a function source code.
the source code of the function
OptionalshouldSerialize: booleanwhether the function should be serialized or not
a new SerializableCallback instance
Represents a serializable function, which can be serialized to a string and later deserialized back to a function.