1local function
pipe(self)
7local function
stop(self)
8 if self.pipeline and not self.pipeline2 then
9 self.pipeline2 = self.pipeline
15 if not self.pipeline and self.pipeline2 then
16 self.pipeline = self.pipeline2
22local function
run(self)
23 self.pipeline_current = self.pipeline_current or 1
24 while self.pipeline and self.pipeline_current and self.pipeline_current <=
#self.pipeline do
25 self.pipeline[self.pipeline_current]()
26 if self.pipeline_current then
27 self.pipeline_current = self.pipeline_current + 1
33local function
reset(self)
34 self.pipeline = self.pipeline or self.pipeline2
36 self.pipeline_current = nil
39local function
clear(self)
40 self.pipeline_current = nil
local function stop(self)
local function pipe(self)
local function reset(self)
local function clear(self)
local function resume(self)