Skip to content

Commit

Permalink
Remove peek method from channel spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Feb 25, 2023
1 parent 03f517a commit 2ccbdbb
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1,003 deletions.
7 changes: 0 additions & 7 deletions api/channel.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,10 @@ interface Sender(T) {
}


interface Peeker(T) {
peek @0 () -> (value :T);
}


interface Recver(T) {
recv @0 () -> (value :T);
}


interface SendCloser(T) extends(Sender(T), Closer) {}
interface PeekRecver(T) extends(Peeker(T), Recver(T)) {}
interface Chan(T) extends(SendCloser(T), Recver(T)) {}
interface PeekableChan(T) extends(SendCloser(T), PeekRecver(T)) {}
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,6 @@ github.com/viant/assertly v0.4.8/go.mod h1:aGifi++jvCrUaklKEKT0BU95igDNaqkvz+49u
github.com/viant/toolbox v0.24.0/go.mod h1:OxMCG57V0PXuIP2HNQrtJf2CjqdmbrOx5EkMILuUhzM=
github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0 h1:GDDkbFiaK8jsSDJfjId/PEGEShv6ugrt4kYsC5UIDaQ=
github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw=
github.com/wetware/casm v0.0.0-20230221204520-1957fd184f20 h1:TYrOgmbPbxUO4PqjwRF2foxpKoqDdu2fRvmAd1ptKTI=
github.com/wetware/casm v0.0.0-20230221204520-1957fd184f20/go.mod h1:POhb5OT6s9paBkfl2/GVEUPYFx0WVLy1t9u9KprDMOU=
github.com/wetware/casm v0.0.0-20230224203443-f715090fc92c h1:vOxUhNnjyzBuIq0/nhdlyoVj8gug4SQlgtojo0Pg8Bo=
github.com/wetware/casm v0.0.0-20230224203443-f715090fc92c/go.mod h1:POhb5OT6s9paBkfl2/GVEUPYFx0WVLy1t9u9KprDMOU=
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 h1:EKhdznlJHPMoKr0XTrX+IlJs1LH3lyx2nfr1dOlZ79k=
Expand Down
Loading

0 comments on commit 2ccbdbb

Please sign in to comment.