MCPcopy
hub / github.com/appwrite/sdk-for-react-native / next

Method next

src/channel.ts:28–30  ·  view source on GitHub ↗
(segment: string, id: string = "*")

Source from the content-addressed store, hash-verified

26 private constructor(private readonly segments: string[]) {}
27
28 private next<N>(segment: string, id: string = "*"): Channel<N> {
29 return new Channel<N>([...this.segments, segment, normalize(id)]) as any;
30 }
31
32 private resolve(action: string): Channel<Resolved> {
33 return new Channel<Resolved>([...this.segments, action]) as any;

Callers 5

collectionMethod · 0.95
documentMethod · 0.95
tableMethod · 0.95
rowMethod · 0.95
fileMethod · 0.95

Calls 1

normalizeFunction · 0.85

Tested by

no test coverage detected