feat: initial prototype
This commit is contained in:
commit
38731258ac
10 changed files with 968 additions and 0 deletions
10
poll_single.go
Normal file
10
poll_single.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package k2v
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
)
|
||||
|
||||
func (c *Client) PollItem(ctx context.Context, b Bucket, pk string, sk string, ct CausalityToken, timeout time.Duration) (Item, CausalityToken, error) {
|
||||
return c.readItemSingle(ctx, b, pk, sk, ct, timeout)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue