1712n / dn-institute

Distributed Networks Institute
http://dn.institute/
The Unlicense
28 stars 69 forks source link

Update index.ts #432

Closed ostrowsky closed 3 months ago

ostrowsky commented 4 months ago

To add batch message processing to the existing code, I suggest modify it to accept an array of text entries instead of a single entry. Then, iterate over each text entry, process it individually, and aggregate the results.

evgenydmitriev commented 4 months ago

@ostrowsky, have you tested the proposed changes?