delayed_otp v0.0.4 DelayedServer

Summary

Functions

starts process apply(mod,options[:function] || :start_link,args) but

  • proc death can only occur options[:delay] minimum after process creation
  • on sup termination: if proc exit takes longer than options[:shutdown], then brutal kill it (options[:shutdown] is equivalent to the sup child_spec one: :brutal_kill | int_timeout | :infinity)

Functions

delayed_death(reason, state)
start_link(mod, args, options \\ [])

starts process apply(mod,options[:function] || :start_link,args) but

  • proc death can only occur options[:delay] minimum after process creation
  • on sup termination: if proc exit takes longer than options[:shutdown], then brutal kill it (options[:shutdown] is equivalent to the sup child_spec one: :brutal_kill | int_timeout | :infinity)