workflows

command
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Workflow workflows searches GitHub repos tagged with "alfred-workflow".

It demonstrates the use of the caching and background-process APIs to provide a responsive workflow by updating the datastore in the background.

It shows results based on cached data (if available), and if the cached data are out-of-date, starts a background process to refresh the cache.

The Script Filter reloads the results (by setting Workflow.Rerun) until the cached data have been updated (at which point it's showing the latest data).

This is a very useful idiom for workflows that don't need data that are absolutely bang up-to-date. The user still gets (potentially out-of-date) results, preserving the responsiveness of the workflow, and the latest data are shown as soon as they're available.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL