/* Author: Amadej Arnus Date: 2024-05-98 */ using System; using emDrive_Configurator; using System.Threading; public class Script { public void Main(CancellationToken cancellationToken) { // Your code goes here // Example of loop with cancellation token while (true) { // Your code goes here if (cancellationToken.IsCancellationRequested) { break; } } } }