public static interface Fn.KeepAlive
Fn.Presenterto control more precisely garbage collection behavior of individual parameters. See
code- the body of the function. Can refer to variables named as
names- names of parameters of the function - these will be available when the
keepAlive- array of booleans describing for each parameter whether it should be kept alive or not. Length of the array must be the same as length of
namesarray. The array may be
nullto signal that all parameters should be kept alive.
Copyright © 2021 The Apache Software Foundation. All rights reserved.