X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=sdl.go;h=25194c87056702af33b9d16376dea8a46478f767;hb=33961a269bf51f6c713fcb00576cdc0b9ac98ee9;hp=e5e80766c203bb0cf77db132845b5ec23f8d740e;hpb=0f37fbdad6df038d57aaceb9313894995a7bc3cf;p=ric-plt%2Fsdlgo.git diff --git a/sdl.go b/sdl.go index e5e8076..25194c8 100644 --- a/sdl.go +++ b/sdl.go @@ -93,8 +93,6 @@ func NewSdlInstance(NameSpace string, db *Database) *SdlInstance { //callback as quickly as possible. E.g. reading in callback context should be avoided //and using of Go signals is recommended. Also it should be noted that in case of several //events received from different channels, callbacks are called in series one by one. -// -//This function is NOT SAFE FOR CONCURRENT USE by multiple goroutines. func (s *SdlInstance) SubscribeChannel(cb func(string, ...string), channels ...string) error { s.SubscribeChannelDB(cb, s.nsPrefix, s.eventSeparator, s.setNamespaceToChannels(channels...)...) return nil