Unlock instant, AI-driven research and patent intelligence for your innovation.

Asynchronous conversion method, device and equipment of callback function and readable storage medium

A callback function and asynchronous technology, applied in the field of R&D management, can solve the problems of increasing the difficulty and workload of upgrading projects, and achieve the effects of improving convenience and accuracy, reducing learning costs, and avoiding abnormal errors

Pending Publication Date: 2021-04-20
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 2. Need to be very familiar with relevant grammar and have practical development experience
It is impossible for developers of all levels to participate in this upgrade project
[0006] 3. For the upgrade and rewriting of asynchronous callback functions between cross-files, it is necessary to repeatedly sort out the nesting and links in the business logic, which increases the difficulty and workload of the upgrade project
[0007] In summary, in the current front-end industry, there is no tool or product that can systematically solve this problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Asynchronous conversion method, device and equipment of callback function and readable storage medium
  • Asynchronous conversion method, device and equipment of callback function and readable storage medium
  • Asynchronous conversion method, device and equipment of callback function and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0029] The flow charts shown in the drawings are just illustrations, and do not necessarily include all contents and operations / steps, nor must they be performed in the order described. For example, some operations / steps can be decomposed, combined or partly combined, so the actual order of execution may be changed according to the actual situation.

[0030] It should be understood that the terms used in the specification of this application are for the purpose of ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of research and development management, and discloses an asynchronous conversion method of a callback function, which comprises the following steps: receiving an asynchronous conversion instruction, and obtaining a target code based on the asynchronous conversion instruction; cutting the target code according to the configuration file of the target code to obtain a plurality of original functions and a plurality of callback functions; packaging the plurality of original functions and the plurality of callback functions according to a target conversion language; and performing chain connection on the plurality of packaged original functions and the plurality of callback functions to obtain a converted target code. The invention further provides a device, computer equipment and a storage medium. The code language learning cost of a user is reduced, and the convenience and accuracy of code conversion are improved.

Description

technical field [0001] The present application relates to the technical field of research and development management, and in particular to an asynchronous conversion method of a callback function, an asynchronous conversion device of a callback function, computer equipment, and a computer-readable storage medium. Background technique [0002] At present, in the front-end industry, there are still a lot of code written using ES5. If you need to replace the new ES6 code, one of the important tasks is to rewrite the callback function writing method in the original traditional asynchronous execution program to ES6. Promise. [0003] The existing conventional processing methods are as follows: [0004] 1. Introduce Babel to compile the upgraded project code. The introduction and use of Babel requires configuration files to be written, and for an ordinary developer, additional knowledge related to Babel is required. [0005] 2. You need to be very familiar with the relevant gra...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/40G06F8/71
Inventor 黄康
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD