Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/core-util

Package Overview
Dependencies
Maintainers
2
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-util

Core library for shared utility methods

  • 1.11.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4.5M
decreased by-11.38%
Maintainers
2
Weekly downloads
 
Created

What is @azure/core-util?

The @azure/core-util package provides a set of utilities used by Azure SDK for JavaScript packages. These utilities include functions for dealing with delays, tracing, and other common tasks that are useful when interacting with Azure services or building applications that integrate with the Azure ecosystem.

What are @azure/core-util's main functionalities?

delay

Provides a way to pause execution for a specified amount of time. This is useful for implementing retries or waiting for an operation to complete.

async function main() {
  await delay(1000);
  console.log('Delayed for 1 second');
}
main();

trace

Facilitates distributed tracing of operations, allowing for monitoring and diagnosing issues across distributed systems.

const span = createSpan('my-operation', {kind: SpanKind.INTERNAL});
try {
  // operation code here
} finally {
  span.end();
}

Other packages similar to @azure/core-util

Keywords

FAQs

Package last updated on 16 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc