summaryrefslogtreecommitdiff
path: root/pkg/promises.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/promises.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/pkg/promises.go b/pkg/promises.go
index 8495650..0198296 100644
--- a/pkg/promises.go
+++ b/pkg/promises.go
@@ -2,31 +2,10 @@ package gonf
type Promise interface {
IfRepaired(...Promise) Promise
- Promise() Promise
Resolve()
Status() Status
}
-//type Operation int
-//
-//const (
-// AND = iota
-// OR
-// NOT
-//)
-//
-//func (o Operation) String() string {
-// switch o {
-// case AND:
-// return "and"
-// case OR:
-// return "or"
-// case NOT:
-// return "not"
-// }
-// panic("unknown")
-//}
-
type Status int
const (