luafan

fan.fifo

conn = fifo.connect(arg:table)

connect to fifo file, create a new one if not exist, Samples


keys in the arg:


conn apis:

send_req()

request to send data, if possiable, onsendready will callback.

send(data:string)

do send data inside onsendready