Instance Method
build(withDynamicBuildDependency:dynamicComponentDependency:)
Builds a new napkin instance with the given dynamic dependencies.
final func build(withDynamicBuildDependency dynamicBuildDependency: DynamicBuildDependency, dynamicComponentDependency: DynamicComponentDependency) -> Router
Parameters
- dynamicBuildDependency
Runtime dependencies needed for building the napkin.
- dynamicComponentDependency
Runtime dependencies needed for creating the component.
Return Value
The router representing the built napkin.
Discussion
This method creates a fresh component and uses it to build the napkin.