MCPcopy Create free account
hub / github.com/temporalio/temporal / Init

Method Init

common/persistence/sql/queue.go:38–46  ·  view source on GitHub ↗
(
	ctx context.Context,
	blob *commonpb.DataBlob,
)

Source from the content-addressed store, hash-verified

36}
37
38func (q *sqlQueue) Init(
39 ctx context.Context,
40 blob *commonpb.DataBlob,
41) error {
42 if err := q.initializeQueueMetadata(ctx, blob); err != nil {
43 return err
44 }
45 return q.initializeDLQMetadata(ctx, blob)
46}
47
48func (q *sqlQueue) EnqueueMessage(
49 ctx context.Context,

Callers

nothing calls this directly

Calls 2

initializeDLQMetadataMethod · 0.95

Tested by

no test coverage detected