OpenAsyncQueue calls OpenTopicURL with the URL parsed from urlstr. OpenTopic is safe to call from multiple goroutines.
(ctx context.Context, urlstr string)
| 197 | // OpenAsyncQueue calls OpenTopicURL with the URL parsed from urlstr. |
| 198 | // OpenTopic is safe to call from multiple goroutines. |
| 199 | func 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 | } |
no test coverage detected
searching dependent graphs…