Current section
Files
Jump to
Current section
Files
lib/debug.ex
defmodule Debug do
def t() do
UrbitEx.start("http://localhost", "midneb-midneb-midneb-midneb")
UrbitEx.new_channel()
UrbitEx.Channel.consume_feed(:main, self())
loop()
{UrbitEx.get(), UrbitEx.getc()}
end
def loop do
receive do
thing -> IO.inspect(thing)
end
loop()
end
end