UNPKG

tess-core-engine

Version:

Tess Core: framework cognitivo modular con API Fluent

8 lines (7 loc) 224 B
class ProtocolRunner { async run(adapter, context) { if (typeof adapter.execute !== 'function') throw new Error('Adapter missing execute()'); return adapter.execute(context); } } module.exports = ProtocolRunner;