Make Kernel.setCtx args similar to AppCtx constructor #9
Labels
api constistency
enhancement to make the API consistent
pkg: core
corresponds to the @tao.js/core package
Currently only accepts
data
as a single last parameter.This is confusing when writing code to know that it's different from the
AppCtx
constructor which accepts anobject
, anarray
or up to 3 args.The text was updated successfully, but these errors were encountered: