Skip to content

Step-by-step guide for writing a custom operator? #5862

Closed
@RobLewis

Description

@RobLewis

I've been trying, with limited success, to understand the discussion of creating custom 2.x operators. I think I get the section "Operator by extending a base reactive class", but what would really help for the "Operator targeting lift()" discussion is a complete, design-through-usage example of creating an operator. Is this possible?

Suggestion: a simple operator that transforms its input type, perhaps something like .countCharacters() that would accept a String and emit an Integer with the number of characters in the String. If possible, versions with and without backpressure would be extra helpful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions