MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / NewWithIdentifiersAndData

Method NewWithIdentifiersAndData

pkg/events/builder.go:85–85  ·  view source on GitHub ↗

Convenience function for legacy code. Same as New(ctx, WithIdentifiers(ids), WithData(data)).

(ctx context.Context, ids EntityIdentifiers, data any)

Source from the content-addressed store, hash-verified

83
84 // Convenience function for legacy code. Same as New(ctx, WithIdentifiers(ids), WithData(data)).
85 NewWithIdentifiersAndData(ctx context.Context, ids EntityIdentifiers, data any) Event
86 // Convenience function for legacy code. Same as With(WithData(data)).
87 BindData(data any) Builder
88}

Callers 15

RegisterSuccessClaimFunction · 0.65
RegisterAbortClaimFunction · 0.65
RegisterFailClaimFunction · 0.65
RegisterSuccessUnclaimFunction · 0.65
RegisterFailUnclaimFunction · 0.65
registerAcceptJoinFunction · 0.65
registerRejectJoinFunction · 0.65
SetMethod · 0.65
DeleteMethod · 0.65
DeleteMethod · 0.65
registerGatewayConnectFunction · 0.65

Implementers 2

builderpkg/events/builder.go
definitionpkg/events/definitions.go

Calls

no outgoing calls

Tested by 2

AssertJoinMethod · 0.52
ExampleFunction · 0.52