Sets the function that persists the nodes.
Source
void setPersistFunction(ExecutableFunction doPersist) {
  _persist = doPersist;
}
    Sets the function that persists the nodes.
void setPersistFunction(ExecutableFunction doPersist) {
  _persist = doPersist;
}