Instance Method
register(source:using:searchable:)
Register a
LeafSource as keyfunc register(source key: String = "default", using source: any LeafSource, searchable: Bool = true) throws
Parameters
keyName for the source; at most one may be registered without a name
sourceA fully configured
LeafSourceobjectsearchableWhether the source should be added to the default search path
Discussion
Throws
Attempting to overwrite a previously named source is not permitted