Slink.Rate.Channel (Slink v0.1.0)

Copy Markdown View Source

A single channel's outbound queue. Drains one request, then waits the configured interval before the next — so a channel never exceeds Slack's ~1 msg/sec limit. One of these runs per channel under Slink.Rate.Supervisor.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(channel)