It's possible to do GraphQl Subscriptions over basic HTTP 1.1 with Server Sent Events!!
Start the needed Supervisors...
supervisor(Streamer.Supervisor, [[pubsub: MyPubSub]])
Mount the Plug...
defmodule Box do | |
defmacro __using__(_env) do | |
quote do | |
import Box | |
end | |
end | |
@doc """ | |
Define module with struct and typespec, in single line |
It's possible to do GraphQl Subscriptions over basic HTTP 1.1 with Server Sent Events!!
Start the needed Supervisors...
supervisor(Streamer.Supervisor, [[pubsub: MyPubSub]])
Mount the Plug...
This guide will enable systemd
to run as normal under WSL 2. This will enable services like microk8s
, docker
and many more to just work
during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.
To enable systemd
under WSL we require a tool called systemd-genie
Copy the contents of install-sg.sh
to a new file /tmp/install-sg.sh
: