MCPcopy Create free account
hub / github.com/FunctionStream/function-stream / NewRecordImpl

Function NewRecordImpl

fs/contube/contube.go:119–124  ·  view source on GitHub ↗
(payload []byte, ackFunc func())

Source from the content-addressed store, hash-verified

117}
118
119func NewRecordImpl(payload []byte, ackFunc func()) *RecordImpl {
120 return &RecordImpl{
121 payload: payload,
122 commitFunc: ackFunc,
123 }
124}
125
126func NewSchemaRecordImpl(payload []byte, schema string, ackFunc func()) *RecordImpl {
127 return &RecordImpl{

Callers 11

generateTrafficMethod · 0.92
CallMethod · 0.92
TestStatefulFunctionFunction · 0.92
makeTubeServiceMethod · 0.92
OutputMethod · 0.92
TestFMWithGRPCRuntimeFunction · 0.92
DefaultHttpHandlerFunction · 0.85
TestMemoryTubeFunction · 0.85
TestHttpTubeHandleRecordFunction · 0.85

Calls

no outgoing calls

Tested by 6

CallMethod · 0.74
TestStatefulFunctionFunction · 0.74
TestFMWithGRPCRuntimeFunction · 0.74
TestMemoryTubeFunction · 0.68
TestHttpTubeHandleRecordFunction · 0.68