![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@azure/core-util
Advanced tools
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.
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();
}
Lodash is a utility library offering a wide array of functions for tasks like data manipulation, testing, and logic operations. While it doesn't focus on Azure or distributed tracing specifically, it provides general-purpose utilities that are useful in many of the same scenarios as @azure/core-util.
The async package provides utilities for working with asynchronous JavaScript, such as managing series, parallel, and waterfall control flow. It's similar to @azure/core-util in that it helps manage asynchronous operations, but it doesn't include utilities for tracing or Azure-specific integrations.
This library is intended to provide various shared utility functions for client SDK packages.
See our support policy for more details.
This package is primarily used in authoring client SDKs and not meant to be consumed directly by end users.
Utility methods provided by this library should be stateless.
Examples can be found in the samples
folder.
Look at usage in dependent client SDKs.
If you run into issues while using this library, please feel free to file an issue.
If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.
FAQs
Core library for shared utility methods
The npm package @azure/core-util receives a total of 2,260,547 weekly downloads. As such, @azure/core-util popularity was classified as popular.
We found that @azure/core-util demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.