core
core copied to clipboard
sketch out new source API implementation
Closes https://github.com/u-wave/core/issues/298
Works together with https://github.com/u-wave/u-wave-source-youtube/pull/116
Sources are registered using the uw.useSource(SourcePlugin)
function instead of just uw.source(sourcePlugin)
. The useSource()
function sets up runtime configuration and handles adding/removing/refreshing the source plugin when configuration changes.