Skip to content
Snippets Groups Projects
Commit f9450364 authored by Markus Thömmes's avatar Markus Thömmes Committed by rodric rabbah
Browse files

Simplify Spi implementations. (#2663)

Using `object`s instead of a hollow class as the "factory" for an Spi makes them being singleton by default, which reduces boilerplate to implement an Spi.

The `Dependencies` object is not used anywhere and there might be better alternatives which we can decide on once the need of them comes up. For now, the Spi's interfaces are relatively tightly coupled to their current default implementations anyway.

Also updated documentation.
parent 8c6740df
No related branches found
No related tags found
No related merge requests found
whisk.spi {
DependentSpi = whisk.spi.DepSpiImpl
TestSpi = whisk.spi.TestSpiImpl
SimpleSpi = whisk.spi.SimpleSpiImpl
MissingSpi = whisk.spi.MissingImpl
MissingModule = missing.module
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment