Skip to content

Add documentation for built in dependencies #132

@julianstirling

Description

@julianstirling

Talking about the cancel hook in the Microscope Repository, we have mentioned it needs to be documented. Probably the place to do this is in a section tutorial about writing actions.

If there was something about "Built in dependencies".

Any of your actions can use a number of dependencies that are built in to labthings-fast API. These include:

InvocationLogger

A logger for sending messages specific to a specific run of this action.

some example code which includes logging

CancelHook

A dependency that allows external tasks to cancel this action

some example code which use both ways of raising the cancel error, or uses one and comments about the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions