MCPcopy Create free account
hub / github.com/pydio/cells / OpenAsyncQueue

Function OpenAsyncQueue

common/broker/queue.go:199–205  ·  view source on GitHub ↗

OpenAsyncQueue calls OpenTopicURL with the URL parsed from urlstr. OpenTopic is safe to call from multiple goroutines.

(ctx context.Context, urlstr string)

Source from the content-addressed store, hash-verified

197// OpenAsyncQueue calls OpenTopicURL with the URL parsed from urlstr.
198// OpenTopic is safe to call from multiple goroutines.
199func OpenAsyncQueue(ctx context.Context, urlstr string) (AsyncQueue, error) {
200 opener, u, err := mux.FromString("AsyncQueue", urlstr)
201 if err != nil {
202 return nil, err
203 }
204 return opener.(URLOpener).OpenURL(ctx, u)
205}

Callers 1

initFunction · 0.92

Calls 2

OpenURLMethod · 0.65
FromStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…