Skip to main content
cngx-src documentation

withAsyncSkip

Functioncommon/data/async-registry

projects/common/data/async-registry/http-context.ts

Description#

Returns an HttpContext that opts the request out of async observability. Pass an existing context to chain with other tokens.

this.http.get('/api/ping', { context: withAsyncSkip() });

Signature#

withAsyncSkip(context: HttpContext)

Parameters#

@paramcontextHttpContext= new HttpContext()

Returns#

HttpContext