# Capture the current definition of a method

**URL:** https://discourse.julialang.org/t/capture-the-current-definition-of-a-method/67215
**Category:** New to Julia
**Created:** [August 28, 2021, 11:13am UTC](https://discourse.julialang.org/t/capture-the-current-definition-of-a-method/67215 "2021-08-28T11:13:46Z")
**Posts on this page:** 1
**Showing post:** 23

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [August 28, 2021, 4:18pm UTC](https://discourse.julialang.org/t/capture-the-current-definition-of-a-method/67215/23 "2021-08-28T16:18:32Z")

</div>

> [@ylvain](#):
>
> Only to grab a function pointer and all others metadata needed to

actually I think opaque closure should do this

> [@What are Opaque Closures?](https://discourse.julialang.org/t/what-are-opaque-closures/60006/1):
>
> Opaque closures on the other hand relax the requirements, and basically just promise to perform something equivalent in behaviour to their body. Except they always run in the world age they were created

---

_[View the full topic](https://discourse.julialang.org/t/capture-the-current-definition-of-a-method/67215)._
