This package contains utilities for implementing new Reshuffle connectors
npm install reshuffle-base-connectorExample:
``js
import { BaseConnector } from 'reshuffle-base-connector'
class MyCustomConnector extends BaseConnector
constructor(options, id / your custom options /) {
super(id)
// Set your custom options here
}
onStart() {
// ...
}
onStop() {
// ...
}
on(options: EventOptionsType, eventId: EventConfiguration['id']): EventConfiguration {
// ...
}
}
``