---
title: "Discussion on \"Callbacks :-\" | Hashnode"
description: "Discussion on \"Callbacks :-\". A callback is a function given to another function to be called after some operation completes.It helps handle asynchronous tasks like API calls or events.\nfunction greet(name, callback) {\n  console.l"
url: "https://hashnode.com/posts/callbacks/699ecf6507208e46d7852cea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Callbacks :-](https://callbackandpromises.hashnode.dev/callbacks?utm_source=hashnode&utm_medium=feed)

A callback is a function given to another function to be called after some operation completes.It helps handle asynchronous tasks like API calls or events. function greet(name, callback) { console.l

Feb 25 · 5 min read · callbackandpromises.hashnode.dev  
Read the article

## Written by

[Udit Rohila](https://hashnode.com/@uditrohila)

@uditrohila

  
[View profile](https://hashnode.com/@uditrohila)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
