Function system(name: string, cb: () => void, when: SystemPhase[]): void Runs a system at the specified events in the pipelineparam name- The name of the system. Overwrites an existing system if the name has been used before.param cb- The function to run.param when- When to run the function. See since v4000.0group Plugins