Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove peek method from channel spec. #91

Merged
merged 1 commit into from
Feb 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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