feat: initial prototype

This commit is contained in:
Milas Bowman 2025-02-25 20:24:09 -05:00
commit 38731258ac
Signed by: milas
SSH key fingerprint: SHA256:ek2D5l1HA34B3wbdErz0QOXm1E46CVvyf/nM4Fwfx/U
10 changed files with 968 additions and 0 deletions

10
poll_single.go Normal file
View 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)
}