Build up on TXTextControl v31.3.0. (not fully supported yet).
Wraps TXTextControl Callback API to work with Objects and Promises.
It also includes typescript definitions for its classes. Therefore it can easy be used in typescript projects.
yarn install @sinc-gmbh/textcontrol-promises
- Create a TextControlContext to work with wrapped objects
let txContext = new TextControlContext(); ...
- Wrapped collections are supporting async iterators
for await (let field of this.txContext.applicationFields) { ... }
- Wrap a native TextControl object by passing it to constructor
let table = new Table(txTableObject);
see https://sinc-gmbh.github.io/textcontrol-promises
Copyright (c) 2023 SINC GmbH. All rights reserved.
Licensed under the MIT license.