helic-0.1.0.0: Clipboard Manager
Safe HaskellNone
LanguageHaskell2010

Helic.Effect.Agent

Description

The Agent Effect

Synopsis

Documentation

data AgentTag Source #

Used to disambiguate Agents via Tagged.

Constructors

AgentTag Symbol 

data Agent :: Effect where Source #

An agent is an interface to an external entity that can receive clipboard events. The Helic CLI uses agents for remote hosts over network, tmux, and X11.

Constructors

Update :: Event -> Agent m ()

Send an event to an agent.

type Agents = [Tagged AgentTmux Agent, Tagged AgentX Agent, Tagged AgentNet Agent] Source #

The default agents for the Helic CLI.