nanome.api.streams.stream module¶
-
class
Stream(network, id, data_type, direction)[source]¶ Bases:
objectClass allowing a update or read properties of a lot of structuresCreated by callingcreate_writing_stream()orcreate_reading_stream()When created, a stream is linked to a number of structures. Each call toupdate()will update all these structures-
DataType¶ alias of
nanome.util.enums.StreamDataType
-
Direction¶ alias of
nanome.util.enums.StreamDirection
-
Type¶ alias of
nanome.util.enums.StreamType
-
data_type¶
-
direction¶
-
id¶
-
set_on_interrupt_callback(callback)[source]¶ - Sets the function to call if the stream gets interrupted (crash)
-