- Enclosing class:
FN
Annotate a method as a
FN.Watch function.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional name of a port on the component to relate the watch data to.intRelative weight compared to other @FN elements.
-
Element Details
-
mime
String mimeThe mime type of the returned data. Will be included in the Watch info.- Returns:
- data mime type
-
weight
int weightRelative weight compared to other @FN elements. Functions will be sorted by weight, and then alphabetically. Higher weight elements will sort after lower weight elements.- Returns:
- weight
- Default:
0
-