Skip to content

add adapter to sub and pub decorator inputs #5

@shababo

Description

@shababo

An adapter is created when the adapter_func input is sent to the pub/sub decorators. Ether will first call this function on the inputs of a pub decorated method or outputs of a sub decorated method to convert it as needed.

This could be useful when

  1. connecting two third-party classes with ether
  2. integrating modular components like controllers and game environments where each pair can communicate on the same topics but have unique code to ensure proper conversion from controller space to game action space

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions