off
This commit is contained in:
parent
c924057c56
commit
e53ec44d98
1 changed files with 4 additions and 0 deletions
|
|
@ -433,6 +433,10 @@ class Pattern {
|
|||
return stack([with_pat, without_pat])
|
||||
}
|
||||
|
||||
off(time_pat, func) {
|
||||
return stack([this, func(this._early(time_pat))])
|
||||
}
|
||||
|
||||
// def off(self, time_pat, func):
|
||||
// return stack(self, self.early(time_pat))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue