Type alias ActionFunction<CustomOptions>

ActionFunction<CustomOptions>: ((input, options, context) => Promise<string | void> | string | void)

An action function is called when the user clicks the action button in PopClip. This is where the extension does its main work.

Type Parameters

Type declaration

    • (input, options, context): Promise<string | void> | string | void
    • Parameters

      Returns Promise<string | void> | string | void