Skip to content

Support contextbacks #34

@vmalloc

Description

@vmalloc

The usage should be something like:

operation_context = gossip.define_contextback('name', args=(...), tags=..., ....)

And then for registration

@operation_context.register
@contextmanager
def my_contextmanager(arg1, arg2):
     ...
     yield
     ....

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions