Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 442 Bytes

File metadata and controls

23 lines (18 loc) · 442 Bytes

ProcessWorker

Prototype of a ProcessWorker that starts jobs in a new process and returns there return-values back to the main process

Usage for a public static method:

public class ProcessWorkerExample
{
	public void StartRemoteWork()
	{
		string result = ProcessWorker.RunAndWait(RemoteWorkJob);
	}
	
	public static string RemoteWorkJob()
	{
		return "Remote Job Done";
	}
}

License

MIT