A new object type is available in the RandomAccessFile library named AsyncStreams.
AsyncStreams allows you to read data from an InputStream and write data to an OutputStream without blocking your program. The reading and writing are done with two separate threads.
When new data is available the NewData event is raised with the data.
When you write data to the OutputStream the data is added to an internal queue and then sent in the background.
AsyncStreams is very useful when working with...
AsyncStreams Tutorial
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1U7HEtt
via IFTTT
vendredi 26 août 2016
AsyncStreams Tutorial
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire