Giter VIP home page Giter VIP logo

Comments (7)

alexellis avatar alexellis commented on May 18, 2024 1

Can you check the PR #27 please?

from connector-sdk.

daikeren avatar daikeren commented on May 18, 2024

@alexellis What's your preferred way of supporting async function? One possible solution might be add another annotation to function (maybe something like async: true ?)

Is there any suggestion?

from connector-sdk.

alexellis avatar alexellis commented on May 18, 2024

cc @martindekov @tessellator

@daikeren I think async_invoke as an env-var would work.

from connector-sdk.

martindekov avatar martindekov commented on May 18, 2024

Derek assign: me

from connector-sdk.

martindekov avatar martindekov commented on May 18, 2024

I will try to implement this as soon as I can this time this week and will ping 👍

from connector-sdk.

martindekov avatar martindekov commented on May 18, 2024

Should I augment this PR to be optional the asynchronous or adding call to the asynchronous gateway path to the connector SDK?

from connector-sdk.

martindekov avatar martindekov commented on May 18, 2024

I was thinking of two approaches, amend the asynchronous path to where we configure the gateway URL so now its http://your.ip:port it would become http://your.ip:port/async-function/http://your.ip:port/function/ this would be the easiest approach, the second approach would be to add some sort boolean to the ControllerConfig(I need to make sure thats the most appropriate place). The former would just re-vendor the SDK with this simple change %s/function/%s -> %s/%s and add logic to the implementations of the connector which will build the gateway URL with async/non-async path appended.

from connector-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.