Skip to content

Permit multiple threads to share a common Environment #169

@slott56

Description

@slott56

The Environment class saves a copy of the most recently-created Runnable program instance.

This can make it awkward to have an Environment shared by multiple threads creating thread-specific Runnable objects to do concurrent evaluations of CEL expressions.

Remove the self.runnable attribute and return the Runnable instance from Environment.program()

See issue #38

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions