#creating new promise
Explore tagged Tumblr posts
codewithnazam Ā· 1 year ago
Text
Calling Js Promise Inside Another Promise: A Real-World Example
Dive into the world of JavaScript promises! Learn how to call a js promise inside another promise, with real-world examples.
Introduction In the world of asynchronous JavaScript, calling a Js promise inside another promise can enhance the efficiency and readability of your code. Let’s explore this concept through a real-world example. Consider a scenario where you need to fetch user data from an API and, based on that data, initiate a secondary operation like fetching additional details for each user. ā€œIf you’re new…
View On WordPress
0 notes
kettlefire Ā· 9 months ago
Text
Prepare for the unexpected. (DPxDC)
Everyone knew about the reign of Pariah Dark. Even those who did not dabble in those realms have heard the tale of the tyrant. A power-hungry man who ruled over the dead with an iron fist.
Following the rise of Pariah Dark, his realm had been effectively cut off from communication. Many mystics and magic users knew better than to open the door of nightmares that could arise if Pariah Dark's reach went further than his own realm.
Except, the universe had plans to bring the realm of the dead back into the cards.
A new opponent, one that had all of Earth's heroes scrambling for options. A being with powers of a god over weather, destruction was on the horizon. A world ending threat.
It's the only reason the Justice League was doing this. In a deep bunker, far from close civilization as a precaution, the heroes looked on with grim expressions.
The world was already being threatened. It would be destroyed regardless of what the league did. So it only made sense to make the last ditch effort. To summon someone strong enough to defeat the threat.
No one wanted to do it. No one wanted to be the one to pull the realm of the dead back to the living. The consequences were untold if this succeeded. If Pariah Dark was freed and defeated the threat, whose to say he won't want control?
That was a problem for later. For the aftermath. For now, the league could only watch on with bated breath as Constantine completely the summon ritual.
They watched on as the shadows in the room seemed to darken and grow. As the sigil sputtered to life with a glow that was growing increasingly brighter. A sudden gust of wind rushed through the room, the temperature began to drop with eaching ticking second.
And then it was all gone.
The room stood perfectly still. Just as it had been moments before. Nothing changed. No giant king standing before them, no sign that the ritual worked.
The room stood deadly still for another beat before the murmurs started. The team trying to make sense of the situation, figure out what went wrong.
Constantine swore up and down that this was the correct ritual, taking offense that they would even think the problem was on his end. It only made it better when it finally happened.
A loud sound ripped through the room, pulling everyone's attention back to the summoning circle. Just in time to see a tear appear in the space above the circle.
A thin tear that ran the length of eight feet. The fabric of the dimension seems to curl at the edges, pulling back to reveal a deep glowing swirl of greens. A dark gloved hand reached through, fingers curling around the edge of the tear, stretching it even further.
A portal. The ritual had worked, but there had been a delay. A delay that had every hero nerves on edge. Each team member tensed, weapons at the ready as they watched the being stretch the portal to the right size.
Then, a foot stepped out with a heavy thud. A dark boot that looked otherworldly despite its similarity to mortal clothing. A deep black that seemed never-ending. A second foot quickly followed before a full body emerged from the portal.
Not many people in the room have ever seen Pariah Dark, let alone know what to expect. Based on what Constantine and Zatara had said, this wasn't Pariah Dark.
A man had stepped out of the portal, standing at almost seven feet tall, and built like a brick house. One glance at the glowing white hair, deadly red eyes, and shard teeth was enough to know this being was not to be messed with.
But there was no giant show of armor or royal garbs. There is no large crown at the top of his head or jewelry from the infinite realms laced around his neck.
Instead, the man stood before them in combat boots, worn-in ripped jeans, a graphic t-shirt, and a spiked leather jacket. Despite his almost normal clothing choice, the man's jacket seemed to be a never-ending depth of the dark night sky. If one was to look closely enough, the cosmos could almost be made out in the sea of darkness.
None of that would have prepared them for when the man spoke. His tone sounded more bored than anything as he took a step forward.
"Oh, so now you need the help of the dead." The man had spoken, running a hand through his hair. When Batman took a step forward to speak, the man raised a hand. Immediately commanding silence in the single gesture. "I'm on babysitting duty and have yet to have a cup of coffee. I'll be right back."
Just like that, both the man and portal vanished into thin air. Leaving behind a group of stunned heroes. Not only was the man not Pariah Dark, but he was also supposedly babysitting.
"Did that just-"
The Flash had been the first voice to speak up, his eyes trained on where the man had once stood. Except he had barely made it through the first few words before the man was suddenly back.
The man that now had a child hanging off his shoulders and another teen being held up by his scruff. Unlike the man, these kids looked human.
Too human for Bruce's liking. The dark black hair and bright blue eyes had every heroes eyes flickering to Batman for just the briefest moment.
"This isn't fair! I'm not even the king. Why do I have to be here!" The teenager had been complaining the moment the man had reappeared. Arms crossed tight over his chest and seemingly used to being held dangling. "Besides, who brings kids to a show down! Wait til I tell mom about this."
"Aw, come on, Danny. This is gonna be fun!!" The younger girl seemed in much better spirits than the teen, Danny. She had climbed up the large man, sitting on his shoulders and resting her arms on the mess of glowing hair. "It's like take your kids to work day! Ooo, Dan! Can we fight too!?"
Unlike the two kids, the man looked purely exhausted and annoyed. The man, Dan, dropped Danny like a sack of potatoes as he took a long drink from the travel cup in his hand.
It didn't take a genius to recognize the look of an exhausted parent in Dan's expression. A look many of the league members were well acquainted to. A look that even had Batman grimacing with sympathy.
"Can it, little shits. You two were grounded, remember." Dan had growled at the kids before shifting his focus back on the team of heroes before them. His glowing eyes set in a deadly glare. "Pariah Dark isn't coming, and he never will. He's been dethroned and banished. We're the best you've got."
A summoning that started with a group of on edge and scared heroes looking for the ghost king, ended in a way no one expected.
No one was even sure if it made any sense. They weren't sure if they should feel hopeful or in despair.
Because truly, what was a ghostly man with two seemingly human children against a godlike foe with the control over the weather?
The unspoken question of power and ability seemed to vanish following Dan downing the metal travel cup of coffee, and crushing it in his fist.
He tossed it to the side, straighting up his posture as he looked over the heroes. Dan might not be a hero, but he's been playing family for too long.
An almost feral, bloodhungry grin spread across the man's face, sharp fangs on full display. The look made the man suddenly look even less human. He looked closer to a demon from the pits of hell rather than the exhausted parent he looked just a few seconds ago.
"Point me in the direction of this bastard. It's been too long since I let loose and had some fun."
#danny phantom#danny fenton#phandom#dc x dp#batman#dcxdp#dp x dc#dp x dc au#dp x dc crossover#justice league#I've been toying with the idea of following Pariah Dark's end the zone abolished the idea of a one true king#instead setting up a counsel of the most trusted ghosts and deities with in the zone; including Pandora and Clockwork#I also like to vote for Technus to be on the counsel and Ghostwriter to be like the secretary/note taker#after Ghostwriter stopped being an asshole ofc ofc#I kinda have this list of specific details I've created for this idea and like I keep thinking up new ones#like the Phamily's backstory is somewhat canon complaint with the show but also a whole mess of complex shit#like the expanse of Danny turning into phantom and the events that occurred still did except technically they never did#it's clockwork's time mumbo jumbo type of shit#Ellie had to be deaged some to help stabilize her core so I'm roughly saying she's like 7-8 years old#but idk children so idk how a 7-8 year old actually looks or how they usually act or talk#The JL seriously don't know if they should be hopeful or not but Dan's grin and excitement makes it seem more promising#I like to imagine Bruce is just watching Dan with Ellie and Danny trying to figure out if he's actually a good father or not#people being surprised to find out that Ellie Danny and Dan are all technically orphaned siblings#while Dan is just trying to coparent his siblings with the help of a time god an earth goddess a princess and a dirtbag with a motorcycle#dan phantom#ellie phantom#I can go on and on so I'll force myself to stop now#long post
2K notes Ā· View notes
triaelf9 Ā· 16 days ago
Text
JK's creations need to be purged from the public conscious. The next generations need to have never heard of HP.
And I was a person who was Harry's age & literally grew up with the books. She betrayed us, she broke our hearts, & now attacking us.
History should remember her only as a fascist.
And yes, purge includes the fandom.
You need to file those memories away as fond memories. Remember the joy, those are YOUR memories, but close the door on that time. It's over, and it's her own fault.
She betrayed ALL OF US. Don't let her hold anymore control over you. Find another fav.
All I know is that I've never felt more motivated to sit down & write my own novel, & create even more queer comics.
Drown out her lie of a series with better stuff. Flood the market w/ beautiful creations.
This is OUR world. NOT hers.
185 notes Ā· View notes
stealingyourbones Ā· 5 months ago
Text
Wally looked up to The Flash all his life and read flash’s comic books as a kid, what if he also read a niche indie comic titled Danny Phantom too?
Danny ran into this universe in an attempts to start a new life, he didn’t expect the hero from Keystone to know who he is and know his secret identity!!
362 notes Ā· View notes
dykealloy Ā· 1 year ago
Text
ripple effect legacy // my tears are becoming a sea, M83
1K notes Ā· View notes
blackhholes Ā· 9 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
teen wolf meme: [4/4] families -> the mccalls
I've never told Scott to run and hide, and I'm not going to start now. Melissa, he was dead in your arms once before, and you had to bring him back yourself. What if this is the one fight he doesn't come back from?
216 notes Ā· View notes
jon-sedai Ā· 4 months ago
Text
Something that’s always missing whenever people talk about Lyanna and the Kingsguard at the Tower of Joy is that these things should always circle back to Jon Snow. He’s our main character here. Rhaegar and Lyanna, as well as the Kingsguard, are all dead. They were dead before this story began. This tiny section of text is meant to give color to Jon — who is alive, and whose story is currently unfolding. The events at the Tower of Joy, told entirely through Ned’s fever dream for a reason, essentially serve as one thing: fantasy protagonist myth building 101. Three wise men, a legendary magical sword, some of the greatest knights of an era, a dying queen lady, the end of an age, a dead prince, a dead king, and then here comes a soon to be completely orphaned prince whose life hangs on the balance and whose survival depends on the compassion of one lord and his wizard friend. GRRM is literally retelling King Arthur’s backstory through Jon. This whole thing is one giant literary allusion to Uther and Igraine and the boy king Arthur, to Lancelot and his Joyous Guard, to Guinevere, and to tragic romances. It reads as an ode to Arthurian fantasy and is meant to backdrop the main protagonist’s fantastical origins. The Kingsguard are there to play into that. Their presence at the Tower, in that moment, was never about Lyanna; not solely, anyway. Their presence is tied to Rhaegar’s last surviving male child, and the language used suggests that they had chosen their king, for better or worse. Any discussion surrounding the Kingsguard’s presence at the Tower that focuses on anyone but Jon completely misses the point imo.
#idk yall im just a lil annoyed rn lmaooo#I feel like there are a lot of readings and arguments that have nothing to do with the actual purpose of the text#just people straight up ignoring what’s already in the text and then imposing their own reading#like ned’s fever dream speaks to his trauma fr but like a big main takeaway is:#oh the kg literally have a million other places to be and a million other things to do so why are they here in particular?#why have they remained here of all places??#oh they are doing their duty as they see it….which is to guard the king…..who is now baby jon like?????#it’s almost spelled out for us in the text why do yall have to create new cannon about evil kingsguard following evil rhaegar??#asoiaf#jon snow#lyanna stark#the tower of joy#valyrianscrolls#ā€œthe kingsguard were evil for keeping lya from her brother!111ā€#hmmmm neddard i agot — lyanna was scared shitless until ned made his promises#I wonder why she’d be scared? I wonder if anything happened recently to rhaegar’s children to make her scared?#no she was definitely scared of the kingsguard there šŸ™ƒ#I do want to say too that this is a world where brother and sister go to war (dance of the dragons)#or brother vs brother (stannis vs renly) among other examples of familial conflicts#ned fought and won a war for robert whose rule was solidified in the targ heirs’ blood#him being lya’s brother at that moment doesn’t mean shit
115 notes Ā· View notes
moonfromearth Ā· 4 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Played around in CAS so here are some low effort screenshots 😁
30 notes Ā· View notes
amiscreations Ā· 1 year ago
Text
Tumblr media Tumblr media
Happy birthday to our very own White LightningšŸ¤āš”ļø Love you Steve, miss you lots✨
75 notes Ā· View notes
waugh-bao Ā· 16 days ago
Text
Tumblr media Tumblr media Tumblr media
#I’m going to hell for laughing at the comments. but so is mick (for other things). so no biggie#honestly this suddenly being news is very weird to me#b/c the interview they’re referencing is from like 6 months ago#it was rachel johnson for tatler#I remember reading about her promise ring and them not getting married because#ā€˜we’re just so hot for each other and wouldn’t want to ruin it with marriage’#suuuuuuure#it’s got nothing to do with mick being absolutely incapable of commitment#especially one that could end in a *woman* getting any of his money#I don’t know#although mick probably does get soft at the idea of legally binding commitments and divorce settlements (I’m sorry for even thinking that)#if you read that interview and all the ā€˜cute’ teasing and how much they’re apart it’s pretty clear he has massive contempt for her#which isn’t unusual per se for him. he’s a raging misogynist. but he certainly seemed to like L’Wren and even Jerry more than this#I doubt they’ll really tie the knot but maybe#just for him to have the chance to leave nothing to the kids and the exes out of sheer spite. not sure he’d leave it all to her or create#some elaborate will that will end in years of litigation. or giving her a chunk and the rest to some third party as a final f you to#the family. as is his wont#he’s liable to get his ass casey kasem-ed that way but so be it#the rolling stones#old married band#mick jagger#melanie hamrick
9 notes Ā· View notes
kirumiri Ā· 1 year ago
Text
Tumblr media Tumblr media
you're telling me it's already BEEN A YEAR since I became obsessed with this family? BD fandom how we feeling
73 notes Ā· View notes
djangari Ā· 2 months ago
Text
Well...this is awkward.
To defend myself, I was in a deep burn out and a lot of stress because of very important exams (and still need to write two more) buttt I'm fresh out of the second hardest and the last days were very sunny and good so my motivation is back yayyy.
And I fr gotta stop promising things I can't hold, as note to a future me...
9 notes Ā· View notes
akkivee Ā· 25 days ago
Text
Tumblr media Tumblr media
so a while back, i wound up revisiting the hypmic timeline and coming to the conclusion that there’s a high possibility that rei and nayuta got hitched and had ichiro after knowing each other for two years lol
i’m still on the slow grind picking thru evangelion, but according to the nge’s canon timeline, gendo (the man rei has heavy character influences from) married his wife and had his son two years afterwards and i think that is a crazy parallel to have adapted from nge LOL
13 notes Ā· View notes
stuworbutwithchipmunks Ā· 10 months ago
Text
Tumblr media
I'm not longer sad (lying) so let's go back to AATC
29 notes Ā· View notes
mileymint Ā· 4 months ago
Text
What if I made a Dandy's World OC. What then huh
10 notes Ā· View notes
fullscoreshenanigans Ā· 7 months ago
Note
When and how did you get into TPN? For me I discovered TPN in 2021 through the Fandom page where I spoiled myself about Conny and some other stuff which I forgot and in 2023 I purchased the first two volumes of the manga and I fell in love. And the rest is ancient history!
Sorry about my little history lesson!
You're good! (If anyone else wants to share how they got into the series on this post I'd been down for that too)
My sister and a friend recommended the anime to me at some point (I want to say after it was on US Netflix) as something I might like. I did not pay any attention to this at all lol. They did lord this over me when it became one of my favorite series. But I managed to avoid all spoilers for it other than the orphanage being a farm, which wasn't a big deal to me since it happens so early on.
Fast forward to March 2021, within the ballpark of a day or two of the season 2 finale airing in Japan. I finished watching another series on Netflix, and it recommended TPN to me. I thought, I vaguely recognize this title, the description sounds interesting, and the thumbnail looks cute, so why not check out the first episode.
(dmotta3's blind reaction lives rent free in my head and inspired this post)
I got to the end of episode 6 and realized that my idea to just check out one episode at 1am was terrible because it was now 4am. But I had the day off from work, so after going to bed and doing everything else I needed to do that day I wrapped up the rest of season 1 because was hooked. I had to know what the fuck is up with these little babies with the mental fortitude and emotional maturity to handle this fantastical dystopia they found themselves in so well. And the final six episodes delivered and then some for me.
Tumblr media
Me within watching the first ten minutes of S1e01: oh this kid with the black emo hair is going to be my favorite :)
Tumblr media
Me upon watching S1e11: LKJFSDLKFLKDFJL OMFG?? OM?FG?? šŸ„“šŸ™ƒšŸ„“ THERAPY! THERAPY FOR A THOUSAND YEARS FOR YOU!!!
I noticed the second season wasn't on Netflix, so while avoiding as many spoilers as I could I took a peek around and discovered that a lot of people were unhappy with season 2. I asked some friends who had watched it if they liked it, and they said it was all right, but not as good as season 1. So what I ended up doing was figuring out where the first season left off in the manga, and then read a few chapters before watching the corresponding parts in the anime to see where it really diverged. By the time I got to the bunker in the anime and saw there was no dad to go in it, I dropped it entirely to focus on reading the manga. It took roughly four days from me putting on the anime on a whim to me reading the bonus chapters and epilogue, and I was initially kind of bummed about it for reasons I've discussed here.
Tumblr media
(Chart I made to explain to a friend group my personal enjoyment of the series by arc because it's one of the silly things we do with each other, while avoiding some spoilers by removing the names of the last few arcs. I'd rank Cuvitidala and the human world arc a bit higher now and Return to Grace Field arc lower, but the rest is still largely the same.)
But even with my gripes with the series, it had nestled itself inside my heart and mind, and I was endeared to it enough to buy the blu-ray of season 1 and import the soundtrack.
Tumblr media
Another crucial aspect for me was that @1000sunnygo was translating the mystic code book around this time as well as a plethora of other content that wasn't receiving official English releases. This kept me engaged with this silly little shounen that had endeared me so deeply, as I had new official content and information to look forward to every now and then in addition to latching on to some fanfics that proved to be foundational for my personal interpretation/enjoyment of the series. It also helped explain some of the issues I had with it, one of them being the pacing toward the end due to Shirai trying to salvage his health after being in serialized publishing for almost four years while still maintaining his sense of artistic integrity by ending the series on his own terms. I don't think this frees said choices from critique, but it helped me personally accept them more.
And then after almost ten months after first watching season 1 on a whim, I made this blog, though I didn't really start using it until February 2022. It was a first for me since I usually just keep everything on main in a random hodgepodge, but the brainrot wasn't going away, and I couldn't put my mutuals through another major interest, so here we are roughly 2.5 years later.
15 notes Ā· View notes