y_process v0.1.5 YProcess.Backend.PhoenixPubSub

Simple implementation of channels using Phoenix PubSub.

Summary

Functions

Creates a channel in Phoenix.PubSub. The channels don’t need to be created in Phoenix.PubSub so this is just for completion. This function does nothing

Deletes a channel in Phoenix.PubSub. The channels don’t need to be deleted in Phoenix.PubSub so this is just for completion. This function does nothing

Emits a message in a Phoenix.PubSub channel

The process that calls this function joins a channel in Phoenix.PubSub. _pid is ignored

The process that calls this function leaves a channel in Phoenix.PubSub. _pid is ignored

Functions

create(channel)

Creates a channel in Phoenix.PubSub. The channels don’t need to be created in Phoenix.PubSub so this is just for completion. This function does nothing.

delete(channel)

Deletes a channel in Phoenix.PubSub. The channels don’t need to be deleted in Phoenix.PubSub so this is just for completion. This function does nothing.

emit(channel, message)

Emits a message in a Phoenix.PubSub channel

join(channel, arg2)

The process that calls this function joins a channel in Phoenix.PubSub. _pid is ignored.

leave(channel, arg2)

The process that calls this function leaves a channel in Phoenix.PubSub. _pid is ignored.