Spark (spark v2.2.46)

View Source

Documentation for Spark.

Summary

Functions

Returns the extensions a given DSL uses

Returns true if the module implements the specified behavior

Returns the configured otp_app of a given DSL instance

Returns all modules that implement the specified behaviour for a given otp_app.

Functions

extensions(module)

Returns the extensions a given DSL uses

implements_behaviour?(module, behaviour)

Returns true if the module implements the specified behavior

otp_app(module)

Returns the configured otp_app of a given DSL instance

sparks(otp_app, spark)

Returns all modules that implement the specified behaviour for a given otp_app.

Should only be called at runtime, not at compile time, as it will have inconsistent results at compile time.