CBA_A3 icon indicating copy to clipboard operation
CBA_A3 copied to clipboard

Remote-Promise system

Open X39 opened this issue 4 years ago • 5 comments

Just noticed that i have had this "in the pipe" since 2018 ... finally creating the PR for it

When merged this pull request will:

  • Add a promise system, allowing to poll the server, calling a local method afterwards

X39 avatar Feb 05 '21 01:02 X39

It bugs me that the function names are

CBA_fnc_promise_xyz

and not

cba_promise_fnc_xyz

Would prefer either PREP or camel case: CBA_fnc_promiseXyz

commy2 avatar Feb 05 '21 08:02 commy2

Why does it constantly talk about "methods"? Shouldn't it be "functions" or is this specifically a thing about promises I am missing.

commy2 avatar Feb 05 '21 08:02 commy2

Why does it constantly talk about "methods"? Shouldn't it be "functions" or is this specifically a thing about promises I am missing.

Can alter that. There is nothing you are missing here.

X39 avatar Feb 05 '21 15:02 X39

It bugs me that the function names are

CBA_fnc_promise_xyz

and not

cba_promise_fnc_xyz

Would prefer either PREP or camel case: CBA_fnc_promiseXyz

Which one of the two would you prefer?

X39 avatar Feb 05 '21 15:02 X39

Can alter that. There is nothing you are missing here.

Please do.

Which one of the two would you prefer?

Camel case, since PREP is not used much for public functions due to the advantage of the functions viewer.

commy2 avatar Feb 05 '21 16:02 commy2