struct

TermBuf::Commands::Apply

Inherits Struct < Value < Object

Run arbitrary work against the buffer on the owning fibre. The escape hatch for anything the command set does not cover, and the only safe way to read the buffer from outside.

Constructors

new(action : Buffer -> Nil, reply : Channel(Exception | Nil) | Nil)
Source

Instance methods

action
clone
Source
copy_with(action _action = @action, reply _reply = @reply)
Source
reply