W3cubDocs

/Elixir 1.4

Kernel.ParallelRequire

A module responsible for requiring files in parallel.

Summary

Functions

files(files, callbacks \\ [])

Requires the given files

Functions

files(files, callbacks \\ [])

Requires the given files.

A callback that will be invoked with each file, or a keyword list of callbacks can be provided:

  • :each_file - invoked with each file

  • :each_module - invoked with file, module name, and binary code

Returns the modules generated by each required file.

© 2012–2017 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.4.1/Kernel.ParallelRequire.html