Wobserver v0.1.7 Wobserver.Util.Helper
Helper functions and JSON encoders.
Summary
Functions
Formats function information as readable string.
Only name will be return if only name
is given.
Example:
iex> format_function {Logger, :log, 2}
"Logger.log/2"
iex> format_function :format_function
"format_function"
iex> format_function nil
nil
Parallel map implemented with Task
.
Maps the function
over the enum
using Task.async/1
and Task.await/1
.
Converts Strings to module names or atoms.
The given module
string will be turned into atoms that get concatted.