Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
AxelSemrau.Chronos.Plugin.IEmbedMethods Interface Reference

Implement this interface if you want to run a method from within your task. More...

Properties

Func< MethodLaunchEventArgs, Task > CreatePlanerFromMethod [set]
 Call this function to create a task planer containing a single method from your code. More...
 

Detailed Description

Implement this interface if you want to run a method from within your task.

Currently only supported for use from within tasks. If needed, something like a per-device standby / error method could be possible.

Definition at line 177 of file MiscInterfaces.cs.

Property Documentation

◆ CreatePlanerFromMethod

Func<MethodLaunchEventArgs, Task> AxelSemrau.Chronos.Plugin.IEmbedMethods.CreatePlanerFromMethod
set

Call this function to create a task planer containing a single method from your code.

Suggested usage:

  • Create the planer in validation phase
  • Start it from Execute() and wait for it to finish

Definition at line 187 of file MiscInterfaces.cs.

187 { set; }

The documentation for this interface was generated from the following file: