Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
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.
 

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 178 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 188 of file MiscInterfaces.cs.

188{ set; }

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