You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
242 B
Lua

local Observable = require "rx.observable"
local util = require "rx.util"
--- Returns an Observable that unpacks the tables produced by the original.
-- @returns {Observable}
function Observable:unpack()
return self:map(util.unpack)
end