View Source NewRelic.Instrumented.Task.Supervisor (New Relic Elixir Agent v1.29.0)

Provides a pre-instrumented convienince module to connect non-linked Task.Supervisor processes to the Transaction that called them.

You may call these functions directly, or alias the NewRelic.Instrumented.Task module and continue to use Task as normal.

Example usage:

alias NewRelic.Instrumented.Task

Task.Supervisor.async_nolink(
  MySupervisor,
  [1,2],
  fn n -> do_work(n) end
)

Summary

Functions

Link to this function

async(supervisor, fun, options \\ [])

View Source

See Task.Supervisor.async/3.

Link to this function

async(supervisor, module, fun, args, options \\ [])

View Source

See Task.Supervisor.async/5.

Link to this function

async_nolink(supervisor, fun, options \\ [])

View Source
Link to this function

async_nolink(supervisor, module, fun, args, options \\ [])

View Source
Link to this function

async_stream(supervisor, enumerable, fun, options \\ [])

View Source
Link to this function

async_stream(supervisor, enumerable, module, function, args, options \\ [])

View Source
Link to this function

async_stream_nolink(supervisor, enumerable, fun, options \\ [])

View Source
Link to this function

async_stream_nolink(supervisor, enumerable, module, function, args, options \\ [])

View Source

See Task.Supervisor.children/1.

Link to this function

start_child(supervisor, fun, options \\ [])

View Source
Link to this function

start_child(supervisor, module, fun, args, options \\ [])

View Source

See Task.Supervisor.start_link/1.

Link to this function

terminate_child(supervisor, pid)

View Source

See Task.Supervisor.terminate_child/2.