ObserverWeb.Apps.Helper (Observer Web v0.2.4)
View SourceHelper functions and JSON encoders.
References:
Summary
Functions
Formats function information as readable string.
Only name will be return if only name is given.
Examples
iex> alias ObserverWeb.Apps.Helper ...> assert "Elixir.Logger.log/2" == Helper.format_function({Logger, :log, 2}) ...> assert "format_function" == Helper.format_function(:format_function) ...> assert nil == Helper.format_function(nil)
Parallel map implemented with Task.
Maps the function over the enum using Task.async/1 and Task.await/1.