Last active
February 5, 2020 06:48
-
-
Save iantbutler01/2b26d9ae45abf0084454ef33215af596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@impl true | |
def init(_init_arg) do | |
schedule_write_to_disk(@write_interval) | |
schedule_work(@work_interval) | |
{:ok, :queue.new} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment