Helic.Effect.Agent
Description
The Agent effect abstracts a clipboard synchronization target.
Agent
data AgentTag Source #
Used to disambiguate Agents via Tagged.
Tagged
Constructors
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.
Send an event to an agent.
update :: forall r. Member Agent r => Event -> Sem r () Source #
type Agents = [Agent @@ AgentTmux, Agent @@ AgentX, Agent @@ AgentNet] Source #
The default agents for the Helic CLI.