15,891,657 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ftk789 (Top 14 by date)
ftk789
10-Jan-23 10:30am
View
Thank you very much , <3
ftk789
10-Jan-23 10:17am
View
Got it working using the the array.map, Thank you soo much for helping me man, I hope you have a great rest of your day, You helped me a lot. <3
ftk789
10-Jan-23 10:06am
View
Something like this: If this string includes one of these arrays, Then replace that array with blank, And keep repeating until there are none left.
ftk789
10-Jan-23 9:55am
View
I like the 2nd option, I do have them in an array, And I have the whole string ready, Will I have to use a for loop? or a while condition?, Here's where it get's hard on my head ,Cuz I can use both, But I want the best.
ftk789
10-Jan-23 9:21am
View
That really makes sense now, But what if I have an array and I want to use it in there? Would I just call the array? Or would I have assign multiple If's for each array? My array would be: [1], [2], [3], [4], Etc..., It'll all be numbers, Is that possible? Or no?
ftk789
10-Jan-23 9:06am
View
Oh wow that totally works!, But what does it mean? If you don't mind explaining, I want to learn it to know it works, Thank you soo much for your response though!
ftk789
6-Jan-23 7:19am
View
Makes much more sense, And it works perfectly fine, I am shocked that making a class for the queue is a good option, Never thought of it that way, I can't really thank you enough for wasting your time on my stupidity, But sometimes Javascript is a pain, Thank you soo much for your help man, I hope you have a great rest of your day/night, Thank you again.
ftk789
6-Jan-23 7:12am
View
Wouldn't it not work since queue is not an array though?, Since I'm pushing to the array and not a promise, Hence why the error it's giving me.
ftk789
6-Jan-23 6:46am
View
Done deal, on the bottom of the question.
ftk789
6-Jan-23 6:43am
View
In fact, I'm going to add a solution, It's not really a solution, But it's my literal code in the work, To show you what i'm trying to really do.
ftk789
6-Jan-23 6:39am
View
That's a really good example, But the thing here is that, the time is specified here, But the time from the API is not, It could be anywhere between 1 second to min's, Plus, This does not go with any loop. Since for loops cannot wait at all, As expected, Unless adding a manual delay to the loop, Which sucks sadly, But this is a good example honestly, I'll make this as a solution, Although it didn't help me a lot, But it's a very good and close example of what I was trying to do, Except it's not an API Request, Thank you man, Really nice of you taking some of your time to respond. (EDIT): To clarify some stuff, Yes it could work in a for loop, But when having a lot of tasks being queued to an API as well, It really does take time, And it won't really be efficient, But yea.
ftk789
6-Jan-23 6:04am
View
True, Now my question changes honestly, I need somehow to request from that for loop. But then somehow pause the for loop until the response comes in, Then request with the second Request. But yea...
ftk789
6-Jan-23 5:54am
View
Deleted
True, Now my question changes honestly, I need somehow to request from that for loop. But then somehow pause the for loop until the response comes in, Then request with the second Request. But yea...
ftk789
6-Jan-23 0:41am
View
Thank you for your reply, I didn't think it's impossible to actually do such a thing, The idea looked pretty simple, But it seems that you have to wait for the first response then request the other, Which is slow for a fast app/program/project, But it's better than nothing, Thank you soo much for your reply man, I hope you have a great rest of your day!
Show More