Add Lua pipeline support
This commit is contained in:
12
tests/lua_text_decoder.lua
Normal file
12
tests/lua_text_decoder.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
decode = function(frame)
|
||||
if #frame == 0 then
|
||||
return nil
|
||||
end
|
||||
|
||||
return {
|
||||
kind = "text",
|
||||
data = frame,
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user