inlada-transaction-processor
v1.0.3
Published
Transaction processor, part of inladajs framework
Downloads
32
Readme
inlada-transaction-processor
Usage:
import { ITransactionService, transactionProcessor } from 'inlada-transaction-processor';
const myNewTransactionHandler: ITransactionService = {
onStart: uid => {},
onSuccess: uid => {},
onFail: uid => {},
}
transactionProcessor.registerTransactionService(myNewTransactionHandler);
Methods of myNewTransactionHandler
will be called on start event processing, on success and of fail result, with event uid. (see inladajs package)