Skip to content

WIP: Refactor njs_continuation_t. #85

Description

@hongzhidao

Hi @xeioex

Take a look at these patches, please.

  1. Refactored njs_function_lambda_call() and style.
    https://gist.github.com/hongzhidao/0a87adeb26e8b0eb71c7203d7a9d82b8

  2. Refactor njs continuaction. (Optional)
    https://gist.github.com/hongzhidao/36b74142d3eb08b8d24509da6b543f91
    https://gist.github.com/hongzhidao/4e818cd152da82e1fc77f2f23b10dc59
    https://gist.github.com/hongzhidao/c23d90c783cafd6c16b6b2f270391495

Finally, we refactored out three important APIs.
njs_function_frame, njs_function_activate, njs_function_call

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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